mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
Attachment objects in production are only created in one place, which passses a size. Additionally, I verified in multiple production environments with old data that this never actually happens (or has happened). So we should make the data model correctly reflect the possibilities here.
26 lines
632 B
Python
26 lines
632 B
Python
# Generated by Django 2.2.13 on 2020-06-20 19:57
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('zerver', '0288_reaction_unique_on_emoji_code'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='archivedattachment',
|
|
name='size',
|
|
field=models.IntegerField(default=0),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AlterField(
|
|
model_name='attachment',
|
|
name='size',
|
|
field=models.IntegerField(default=0),
|
|
preserve_default=False,
|
|
),
|
|
]
|