Merge pull request #245 from pc2/master

Disable foreign key check while updating database
This commit is contained in:
Jan Eitzinger
2024-03-14 09:42:24 +01:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -1 +1,3 @@
SET FOREIGN_KEY_CHECKS = 0;
ALTER TABLE tag MODIFY id INTEGER;
SET FOREIGN_KEY_CHECKS = 1;

View File

@@ -1 +1,3 @@
SET FOREIGN_KEY_CHECKS = 0;
ALTER TABLE tag MODIFY id INTEGER AUTO_INCREMENT;
SET FOREIGN_KEY_CHECKS = 1;