You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
# Generated by Django 4.2.3 on 2023-07-12 17:15
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
initial = True
|
|
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Task",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
("name", models.CharField(max_length=64)),
|
|
("description", models.TextField(max_length=5000)),
|
|
(
|
|
"status",
|
|
models.CharField(
|
|
choices=[
|
|
("TODO", "TODO"),
|
|
("DOING", "DOING"),
|
|
("DONE", "DONE"),
|
|
("CANCELED", "CANCELED"),
|
|
],
|
|
default="TODO",
|
|
max_length=8,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
]
|