initial commit

This commit is contained in:
Thies Mueller
2021-01-08 13:04:19 +01:00
parent 5d356fbd96
commit 2af1da0304
4 changed files with 150 additions and 0 deletions

10
usertable.sql Normal file
View File

@@ -0,0 +1,10 @@
CREATE TABLE `users` (
`id` INT NOT NULL AUTO_INCREMENT ,
`email` VARCHAR(255) NOT NULL ,
`passwort` VARCHAR(255) NOT NULL ,
`vorname` VARCHAR(255) NOT NULL DEFAULT '' ,
`nachname` VARCHAR(255) NOT NULL DEFAULT '' ,
`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
`updated_at` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
PRIMARY KEY (`id`), UNIQUE (`email`)
) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;