Added addUser function to repository

This commit is contained in:
Kevin Frantz
2018-07-15 09:51:48 +02:00
parent 2e1394f96a
commit 80be8e7361
6 changed files with 53 additions and 9 deletions

View File

@@ -1,8 +1,8 @@
CREATE TABLE `test_db`.`user` (
`id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(45) NULL,
`email` VARCHAR(45) NULL,
`hash` VARCHAR(45) NULL,
`name` VARCHAR(120) NULL,
`email` VARCHAR(120) NULL,
`hash` VARCHAR(60) NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `id_UNIQUE` (`id` ASC),
UNIQUE INDEX `email_UNIQUE` (`email` ASC));