aboutsummaryrefslogtreecommitdiffstats
path: root/api/migrations
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2019-01-07 22:36:41 +0100
committerGravatar Johannes Christ <[email protected]>2019-01-07 22:36:41 +0100
commit79f24f30372d4ac5d14ad0c964ff55e3d3b03809 (patch)
tree7e651759eedd17c7200ee78ab2d9fa45f81e938f /api/migrations
parentUse proper field name in `tag_embed_validator`. (diff)
Allow custom `inserted_at` infraction field for now.
Diffstat (limited to 'api/migrations')
-rw-r--r--api/migrations/0025_allow_custom_inserted_at_infraction_field.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/api/migrations/0025_allow_custom_inserted_at_infraction_field.py b/api/migrations/0025_allow_custom_inserted_at_infraction_field.py
new file mode 100644
index 00000000..0c02cb91
--- /dev/null
+++ b/api/migrations/0025_allow_custom_inserted_at_infraction_field.py
@@ -0,0 +1,19 @@
+# Generated by Django 2.1.4 on 2019-01-06 16:01
+
+import datetime
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('api', '0024_add_note_infraction_type'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='infraction',
+ name='inserted_at',
+ field=models.DateTimeField(default=datetime.datetime.utcnow, help_text='The date and time of the creation of this infraction.'),
+ ),
+ ]