add: alt + L

This commit is contained in:
Don Bock 2023-01-11 10:33:20 +01:00
parent 6dffa09e88
commit d4e275e28c

View File

@ -1,8 +1,11 @@
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET
SET time_zone = "+00:00"; SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET
time_zone = "+00:00";
CREATE TABLE `ingredienti` ( /*Zutaten*/ CREATE TABLE `ingredienti`
( /*Zutaten*/
`id` varchar(36) NOT NULL, `id` varchar(36) NOT NULL,
`cognome` varchar(200) NOT NULL, /*Name*/ `cognome` varchar(200) NOT NULL, /*Name*/
`caloriePerCento` int(5) NOT NULL, /*Kalorien pro Gramm*/ `caloriePerCento` int(5) NOT NULL, /*Kalorien pro Gramm*/
@ -11,20 +14,23 @@ CREATE TABLE `ingredienti` ( /*Zutaten*/
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `folla` ( /*Menge*/ CREATE TABLE `folla`
( /*Menge*/
`id` varchar(36) NOT NULL, `id` varchar(36) NOT NULL,
`unita` varchar(200) NOT NULL, /*Einheit*/ `unita` varchar(200) NOT NULL, /*Einheit*/
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `elenco` ( /*Liste*/ CREATE TABLE `elenco`
( /*Liste*/
`id` varchar(36) NOT NULL, `id` varchar(36) NOT NULL,
`creatore` varchar(200) NOT NULL, /*Ersteller*/ `creatore` varchar(200) NOT NULL, /*Ersteller*/
`coloreDiSfondo` integer(10) NOT NULL, /*Hintergrundfarbe*/ `coloreDiSfondo` integer(10) NOT NULL, /*Hintergrundfarbe*/
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `utente` ( /*Benutzer*/ CREATE TABLE `utente`
( /*Benutzer*/
`id` varchar(36) NOT NULL, `id` varchar(36) NOT NULL,
`email` varchar(200) NOT NULL, /*Email*/ `email` varchar(200) NOT NULL, /*Email*/
`parolaDordine` integer(10) NOT NULL, /*Passwort*/ `parolaDordine` integer(10) NOT NULL, /*Passwort*/
@ -32,7 +38,8 @@ CREATE TABLE `utente` ( /*Benutzer*/
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `elencoIngredienti` ( /*Liste_Zutaten*/ CREATE TABLE `elencoIngredienti`
( /*Liste_Zutaten*/
`id` varchar(36) NOT NULL, `id` varchar(36) NOT NULL,
`ingredientiID` varchar(36) NOT NULL, /*ZutatenID*/ `ingredientiID` varchar(36) NOT NULL, /*ZutatenID*/
`elencoID` varchar(36) NOT NULL, /*ListeID*/ `elencoID` varchar(36) NOT NULL, /*ListeID*/
@ -40,7 +47,8 @@ CREATE TABLE `elencoIngredienti` ( /*Liste_Zutaten*/
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `utenteElenco` ( /*Benutzer_Liste*/ CREATE TABLE `utenteElenco`
( /*Benutzer_Liste*/
`id` varchar(36) NOT NULL, `id` varchar(36) NOT NULL,
`elencoID` varchar(36) NOT NULL, /*ListeID*/ `elencoID` varchar(36) NOT NULL, /*ListeID*/
`utenteID` varchar(36) NOT NULL, /*BenutzerID*/ `utenteID` varchar(36) NOT NULL, /*BenutzerID*/