2022-08-07 12:41:30 -07:00
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
2022-08-07 17:31:03 -07:00
|
|
|
|
2022-08-07 12:41:30 -07:00
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
dependencies = [
|
2022-08-07 17:31:03 -07:00
|
|
|
("documents", "1022_paperlesstask"),
|
2022-08-07 12:41:30 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
|
migrations.CreateModel(
|
2022-08-07 17:31:03 -07:00
|
|
|
name="Comment",
|
2022-08-07 12:41:30 -07:00
|
|
|
fields=[
|
2022-08-07 17:31:03 -07:00
|
|
|
(
|
|
|
|
|
"id",
|
|
|
|
|
models.AutoField(
|
|
|
|
|
auto_created=True,
|
|
|
|
|
primary_key=True,
|
|
|
|
|
serialize=False,
|
|
|
|
|
verbose_name="ID",
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
("comment", models.TextField()),
|
|
|
|
|
("created", models.DateTimeField(auto_now_add=True)),
|
|
|
|
|
("document_id", models.PositiveIntegerField()),
|
|
|
|
|
("user_id", models.PositiveIntegerField()),
|
2022-08-07 12:41:30 -07:00
|
|
|
],
|
|
|
|
|
)
|
2022-08-07 17:31:03 -07:00
|
|
|
]
|