mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2025-04-22 13:12:26 +02:00
10 lines
258 B
SQL
10 lines
258 B
SQL
CREATE TABLE `test_db`.`user` (
|
|
`id` INT NOT NULL AUTO_INCREMENT,
|
|
`name` VARCHAR(45) NULL,
|
|
`email` VARCHAR(45) NULL,
|
|
`hash` VARCHAR(45) NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE INDEX `id_UNIQUE` (`id` ASC),
|
|
UNIQUE INDEX `email_UNIQUE` (`email` ASC));
|
|
|