diff options
| author | 2020-01-13 21:14:40 +0100 | |
|---|---|---|
| committer | 2020-01-13 21:14:40 +0100 | |
| commit | e35529d1c0215ac8d7148c66a786ab8780e1f2e9 (patch) | |
| tree | 968067e10c1e6255a3ae9672aaf818297f2f5a7a /pydis_site/apps/api/migrations | |
| parent | Adding iframe attributes to attribute whitelist (diff) | |
| parent | Update migration dependency to the latest merged (diff) | |
Merge pull request #303 from python-discord/bot#549-show-attachments-staff
Show attachments in staff log
Diffstat (limited to 'pydis_site/apps/api/migrations')
| -rw-r--r-- | pydis_site/apps/api/migrations/0049_deletedmessage_attachments.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pydis_site/apps/api/migrations/0049_deletedmessage_attachments.py b/pydis_site/apps/api/migrations/0049_deletedmessage_attachments.py new file mode 100644 index 00000000..31ac239a --- /dev/null +++ b/pydis_site/apps/api/migrations/0049_deletedmessage_attachments.py @@ -0,0 +1,20 @@ +# Generated by Django 2.2.6 on 2019-10-28 17:12 + +import django.contrib.postgres.fields +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0049_offensivemessage'), + ] + + operations = [ + migrations.AddField( + model_name='deletedmessage', + name='attachments', + field=django.contrib.postgres.fields.ArrayField(base_field=models.URLField(max_length=512), default=[], blank=True, help_text='Attachments attached to this message.', size=None), + preserve_default=False, + ), + ] |