]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
fix migration dependency
authorMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Mon, 8 Aug 2022 00:31:03 +0000 (17:31 -0700)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Wed, 24 Aug 2022 02:19:21 +0000 (19:19 -0700)
and run code style

src/documents/migrations/1023_add_comments.py

index 8ae779e66c4fe49c0c498e4e3fd494672ccb7c82..124e4777c1796134e20902352e3e732e752b62cc 100644 (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()),
             ],
         )
-    ] 
\ No newline at end of file
+    ]