Files
zulip/zerver/migrations/0241_usermessage_bigint_id_migration_finalize.py
Anders Kaseorg c734bbd95d python: Modernize legacy Python 2 syntax with pyupgrade.
Generated by `pyupgrade --py3-plus --keep-percent-format` on all our
Python code except `zthumbor` and `zulip-ec2-configure-interfaces`,
followed by manual indentation fixes.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2020-04-09 16:43:22 -07:00

24 lines
638 B
Python

# Generated by Django 1.11.23 on 2019-08-23 22:24
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('zerver', '0240_usermessage_migrate_bigint_id_into_id'),
]
operations = [
migrations.RunSQL("ALTER TABLE zerver_usermessage DROP COLUMN id_old;"),
migrations.RemoveField(
model_name='archivedusermessage',
name='bigint_id',
),
migrations.AlterField(
model_name='archivedusermessage',
name='id',
field=models.BigAutoField(primary_key=True, serialize=False),
),
]