2016-06-22 21:16:02 +02:00
|
|
|
import django.utils.timezone
|
2020-06-11 00:54:34 +02:00
|
|
|
from django.db import migrations, models
|
2016-06-22 21:16:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
2021-02-12 08:20:45 +01:00
|
|
|
("confirmation", "0001_initial"),
|
2016-06-22 21:16:02 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2021-02-12 08:20:45 +01:00
|
|
|
name="RealmCreationKey",
|
2016-06-22 21:16:02 +02:00
|
|
|
fields=[
|
2021-02-12 08:19:30 +01:00
|
|
|
(
|
2021-02-12 08:20:45 +01:00
|
|
|
"id",
|
2021-02-12 08:19:30 +01:00
|
|
|
models.AutoField(
|
2021-02-12 08:20:45 +01:00
|
|
|
verbose_name="ID", serialize=False, auto_created=True, primary_key=True
|
2021-02-12 08:19:30 +01:00
|
|
|
),
|
|
|
|
),
|
2021-02-12 08:20:45 +01:00
|
|
|
("creation_key", models.CharField(max_length=40, verbose_name="activation key")),
|
2021-02-12 08:19:30 +01:00
|
|
|
(
|
2021-02-12 08:20:45 +01:00
|
|
|
"date_created",
|
|
|
|
models.DateTimeField(default=django.utils.timezone.now, verbose_name="created"),
|
2021-02-12 08:19:30 +01:00
|
|
|
),
|
2016-06-22 21:16:02 +02:00
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|