]> git.parisson.com Git - teleforma.git/commitdiff
Add Webclass correction DB migration feature/webclass-correction
authorYoan Le Clanche <yoanl@pilotsystems.net>
Tue, 18 Jan 2022 16:12:21 +0000 (17:12 +0100)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Tue, 18 Jan 2022 16:12:21 +0000 (17:12 +0100)
teleforma/webclass/migrations/0006_webclassrecord_category.py [new file with mode: 0644]

diff --git a/teleforma/webclass/migrations/0006_webclassrecord_category.py b/teleforma/webclass/migrations/0006_webclassrecord_category.py
new file mode 100644 (file)
index 0000000..88275e3
--- /dev/null
@@ -0,0 +1,18 @@
+# Generated by Django 3.2.3 on 2022-01-10 10:43
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('webclass', '0005_webclass_teleforma_w_status_03cc4b_idx'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='webclassrecord',
+            name='category',
+            field=models.CharField(choices=[('WC', 'Webclass'), ('CC', 'Correction de copie')], default='WC', max_length=2, verbose_name='Catégorie'),
+        ),
+    ]