nens / threedi-schema

The schema of 3Di schematization files
MIT License
0 stars 0 forks source link

Prevent migrations 222 to 224 from failing when conflicting table names exist #114

Closed margrietpalm closed 1 month ago

margrietpalm commented 1 month ago

Schematisations may already contain any of the table names that are in the new schematisation. To prevent conflicts, I added a step to drop those at the beginning of each migration.

I made this a hotfix for 224 because this could potentially break a migration on production.