Minor fix for DB (working)

This commit is contained in:
Clayzxr
2025-01-22 11:00:18 +01:00
parent 5e75c688c8
commit d767cb0898
3 changed files with 8 additions and 7 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
create table promotions (
id integer primary key autoincrement,
name text,
endyear integer,
current integer
);
@@ -9,6 +10,6 @@ create table students (
firstName text,
lastName text,
mail text,
promo integer,
foreign key(promo) references promo(id)
promotionId integer,
foreign key(promotionId) references promotions(id)
);