aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-09-12 18:19:39 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2019-09-12 18:19:39 +0200
commitefcb5199f9e259c5cee7764d59b515422c5bb6d8 (patch)
treebc19380030d90dd4b49eb677f0cf50ba42431be3
parentMerge pull request #241 from python-discord/fix-flake8-docstrings (diff)
Add missing deleted messages migration file.
A change has been committed to the deleted messages model, namely a default ordering, but it was not reflected in a migration. This commit amends that oversight.
-rw-r--r--pydis_site/apps/api/migrations/0041_add_default_ordering_deleted_messages.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/pydis_site/apps/api/migrations/0041_add_default_ordering_deleted_messages.py b/pydis_site/apps/api/migrations/0041_add_default_ordering_deleted_messages.py
new file mode 100644
index 00000000..a603bf4f
--- /dev/null
+++ b/pydis_site/apps/api/migrations/0041_add_default_ordering_deleted_messages.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.2.3 on 2019-09-12 16:13
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('api', '0040_allow_special_off_topic_name_chars'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='deletedmessage',
+ options={'ordering': ['id']},
+ ),
+ ]