mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2025-09-10 03:47:13 +02:00
Added addUser function to repository
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user