Add transaction and commit statements to SQL scripts

This commit is contained in:
Morph01
2024-04-05 11:20:17 +02:00
parent f06818d9da
commit 44fd7669ba
3 changed files with 8 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
-- Generated by Mocodo 4.2.4
START TRANSACTION;
CREATE TABLE
carte (
PRIMARY KEY (idcarte),
@@ -337,4 +337,5 @@ ALTER TABLE tente_validation ADD FOREIGN KEY (idpartie, num_tour) REFERENCES tou
ALTER TABLE tour ADD FOREIGN KEY (idpartie) REFERENCES partie (idpartie);
ALTER TABLE valide ADD FOREIGN KEY (idcontrainte) REFERENCES contrainte (idcontrainte);
ALTER TABLE valide ADD FOREIGN KEY (idcontrainte) REFERENCES contrainte (idcontrainte);
COMMIT;