Compare commits

...

1 Commits

Author SHA1 Message Date
cec5c783fe fix(migration): disable foreign keys for spec version migration
All checks were successful
arcad/emissary/pipeline/head This commit looks good
2024-03-13 09:21:50 +01:00

View File

@ -1,4 +1,6 @@
-- Add unique constraint on name/version to specs
PRAGMA foreign_keys = 0;
ALTER TABLE specs
RENAME TO _specs;
@ -33,4 +35,6 @@ SELECT
FROM
_specs;
DROP TABLE _specs;
DROP TABLE _specs;
PRAGMA foreign_keys = 1;