diff --git a/dataworkspace/dataworkspace/apps/datasets/migrations/0153_vis_dataset_m2m_bigint.py b/dataworkspace/dataworkspace/apps/datasets/migrations/0153_vis_dataset_m2m_bigint.py new file mode 100644 index 0000000000..f2dff66bd0 --- /dev/null +++ b/dataworkspace/dataworkspace/apps/datasets/migrations/0153_vis_dataset_m2m_bigint.py @@ -0,0 +1,22 @@ +# Generated by Django 3.2.20 on 2023-10-26 13:11 + +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("datasets", "0152_auto_20230927_1121"), + ] + + operations = [ + migrations.RunSQL( + """ + ALTER TABLE datasets_visualisationcatalogueitem_datasets + ALTER COLUMN id TYPE BIGINT + """, + reverse_sql=""" + ALTER TABLE datasets_visualisationcatalogueitem_datasets + ALTER COLUMN id TYPE INT + """, + ) + ]