typ refactor

This commit is contained in:
2026-06-03 22:08:44 +02:00
parent 16f8a929d2
commit b3b7b75ea8
22 changed files with 92 additions and 64 deletions

View File

@@ -5,12 +5,12 @@ CREATE TABLE IF NOT EXISTS modelle (
hersteller_id UUID,
CONSTRAINT fk_typ FOREIGN KEY (typ_id)
REFERENCES typen (id)
REFERENCES typen (typ_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT fk_hersteller FOREIGN KEY (hersteller_id)
REFERENCES hersteller (id)
REFERENCES hersteller (hersteller_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
)