From f0bb37c38c5f696a5aaa54b1d6c21797d2eb0c2b Mon Sep 17 00:00:00 2001 From: Nicksname Date: Fri, 23 Jun 2023 12:29:29 +0200 Subject: [PATCH] Tippfehler korrigiert --- db_scripts/create.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db_scripts/create.sql b/db_scripts/create.sql index 23daa87..b7b1480 100644 --- a/db_scripts/create.sql +++ b/db_scripts/create.sql @@ -46,7 +46,7 @@ INSERT INTO mwst(mwst_id, prozent) VALUES (2, 19); CREATE TABLE IF NOT EXISTS einheit( einheit_id INT NOT NULL PRIMARY KEY, - bezeichung VARCHAR(50) NOT NULL + bezeichnung VARCHAR(50) NOT NULL ); INSERT INTO einheit(einheit_id, bezeichnung) VALUES (1, 'stueck'); @@ -59,4 +59,4 @@ CREATE TABLE IF NOT EXISTS artikel ( preis INT NOT NULL, CONSTRAINT fk_mwst_artikel FOREIGN KEY (mwst_id) REFERENCES mwst(mwst_id), CONSTRAINT fk_einheit_artikel FOREIGN KEY (einheit_id) REFERENCES einheit(einheit_id) -); +); \ No newline at end of file