fix: drop unused sequences

Drop old campcaster sequences that aren't used anymore.
This commit is contained in:
jo 2022-06-07 15:47:41 +02:00 committed by Kyle Robbertze
parent df5ac70769
commit 3bca92413f
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,24 @@
from django.db import migrations
from ._migrations import legacy_migration_factory
UP = """
DROP SEQUENCE IF EXISTS schedule_group_id_seq CASCADE;
DROP SEQUENCE IF EXISTS show_group_id_seq CASCADE;
"""
DOWN = None
class Migration(migrations.Migration):
dependencies = [
("legacy", "0029_3_0_0_alpha_13_3"),
]
operations = [
migrations.RunPython(
code=legacy_migration_factory(
target="3.0.0-alpha.13.4",
sql=UP,
)
)
]

View File

@ -1 +1 @@
LEGACY_SCHEMA_VERSION = "3.0.0-alpha.13.3"
LEGACY_SCHEMA_VERSION = "3.0.0-alpha.13.4"