First Commit

This commit is contained in:
Peter Schiwy
2024-05-24 14:25:46 +02:00
commit 116973d5ae
26 changed files with 1888 additions and 0 deletions

View File

@@ -0,0 +1 @@
DROP TABLE modelle;

View File

@@ -0,0 +1,8 @@
CREATE TABLE modelle (
id SERIAL PRIMARY KEY,
name VARCHAR NOT NULL,
typ_id SERIAL,
hersteller_id SERIAL,
CONSTRAINT fk_typ FOREIGN KEY(typ_id) REFERENCES typen(id),
CONSTRAINT fk_hersteller FOREIGN KEY (hersteller_id) REFERENCES hersteller(id)
)