fix migration dependency

and run code style
This commit is contained in:
Michael Shamoon 2022-08-07 17:31:03 -07:00
parent 865fbbd15c
commit 6d956ac13b

View File

@ -1,19 +1,28 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('documents', '1016_auto_20210317_1351'),
("documents", "1022_paperlesstask"),
]
operations = [
migrations.CreateModel(
name='Comment',
name="Comment",
fields=[
('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())
(
"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()),
],
)
]
]