Initial commit
This commit is contained in:
@@ -0,0 +1 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
@@ -0,0 +1,11 @@
|
||||
-- Your SQL
|
||||
CREATE TABLE Vertretungen (
|
||||
id Integer PRIMARY KEY NOT NULL,
|
||||
klasse Integer not null,
|
||||
stunde Integer not null,
|
||||
fehlend Text NOT NULL,
|
||||
vertretung Text NOT NULL,
|
||||
kommentar Text NOT NULL,
|
||||
FOREIGN KEY(klasse) REFERENCES klasse(id),
|
||||
FOREIGN KEY(stunde) REFERENCES stunde(id)
|
||||
);
|
||||
Reference in New Issue
Block a user