shiftregister/shiftregister/feedback/migrations/0002_sharetoken.py

29 lines
711 B
Python

# Generated by Django 4.0.4 on 2023-05-27 17:48
from django.db import migrations, models
import secrets
class Migration(migrations.Migration):
dependencies = [
("feedback", "0001_initial"),
]
operations = [
migrations.CreateModel(
name="ShareToken",
fields=[
(
"token",
models.CharField(
default=secrets.token_urlsafe,
max_length=43,
primary_key=True,
serialize=False,
),
),
("name", models.CharField(max_length=200)),
],
),
]