Skip to content

Commit

Permalink
fix: change visualisation -> dataset m2m id to bigint (#2826)
Browse files Browse the repository at this point in the history
  • Loading branch information
niross authored Oct 26, 2023
1 parent 1e910c8 commit 14f39d8
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
""",
)
]

0 comments on commit 14f39d8

Please sign in to comment.