FINISH SQL scripts for dataset migration and creation

This commit is contained in:
Morph01
2024-04-07 17:07:24 +02:00
parent 8a44671791
commit d0da955c33
2 changed files with 73 additions and 17 deletions

View File

@@ -1,4 +1,5 @@
START TRANSACTION;
CREATE TABLE
carte (
PRIMARY KEY (idcarte),
@@ -125,7 +126,7 @@ CREATE TABLE
PRIMARY KEY (idclassement_composee, idclassement_composante),
idclassement_composee INTEGER,
idclassement_composante INTEGER,
quantite VARCHAR(42)
hierarchie VARCHAR(42)
);
CREATE TABLE
@@ -338,4 +339,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);
COMMIT;