mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
Merge pull request #245 from pc2/master
Disable foreign key check while updating database
This commit is contained in:
commit
1176974a78
@ -1 +1,3 @@
|
|||||||
|
SET FOREIGN_KEY_CHECKS = 0;
|
||||||
ALTER TABLE tag MODIFY id INTEGER;
|
ALTER TABLE tag MODIFY id INTEGER;
|
||||||
|
SET FOREIGN_KEY_CHECKS = 1;
|
||||||
|
@ -1 +1,3 @@
|
|||||||
|
SET FOREIGN_KEY_CHECKS = 0;
|
||||||
ALTER TABLE tag MODIFY id INTEGER AUTO_INCREMENT;
|
ALTER TABLE tag MODIFY id INTEGER AUTO_INCREMENT;
|
||||||
|
SET FOREIGN_KEY_CHECKS = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user