First commit - es tut schon mal ganz gut
This commit is contained in:
16
create_table.sql
Normal file
16
create_table.sql
Normal file
@@ -0,0 +1,16 @@
|
||||
-- Tabelle für Ausgaben erstellen
|
||||
-- Diese Tabelle sollte bereits in der Docker MySQL-Datenbank existieren
|
||||
-- Falls nicht, hier ist das CREATE Statement:
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `Ausgaben_Tag` (
|
||||
`ID` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`Datum` date NOT NULL,
|
||||
`WochTag` varchar(20) DEFAULT NULL,
|
||||
`Wo` varchar(255) DEFAULT NULL,
|
||||
`Was` varchar(500) DEFAULT NULL,
|
||||
`Wieviel` decimal(10,2) NOT NULL,
|
||||
`Wie` varchar(50) DEFAULT NULL,
|
||||
`OK` tinyint(1) DEFAULT 0,
|
||||
PRIMARY KEY (`ID`),
|
||||
KEY `idx_datum` (`Datum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
Reference in New Issue
Block a user