aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/migrations
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-05-27 09:24:48 +0200
committerGravatar Leon Sandøy <[email protected]>2020-05-27 09:24:48 +0200
commit354d78ea01b11f8197dd6933be460f9b277e4645 (patch)
treef3f53c87cd8ae8b520a960b848e95b11d9b6b245 /pydis_site/apps/api/migrations
parentMerge pull request #353 from python-discord/post-game-jam (diff)
No longer accept or track avatar_hash.
This should completely remove avatar_hash from the site - both in our tests, in the model itself, and from the database (as a result of the migration).
Diffstat (limited to 'pydis_site/apps/api/migrations')
-rw-r--r--pydis_site/apps/api/migrations/0052_remove_user_avatar_hash.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/pydis_site/apps/api/migrations/0052_remove_user_avatar_hash.py b/pydis_site/apps/api/migrations/0052_remove_user_avatar_hash.py
new file mode 100644
index 00000000..26b3b954
--- /dev/null
+++ b/pydis_site/apps/api/migrations/0052_remove_user_avatar_hash.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.2.11 on 2020-05-27 07:17
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('api', '0051_create_news_setting'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='user',
+ name='avatar_hash',
+ ),
+ ]