restful-demo/users.sql
2022-10-01 08:46:01 -07:00

1 line
No EOL
316 B
SQL

CREATE TABLE `users` (
`id` varchar(15) NOT NULL,
`firstname` varchar(30) NOT NULL,
`lastname` varchar(30) NOT NULL,
`email` varchar(30) NOT NULL,
`password` varchar(30) NOT NULL,
`country` varchar(30) NOT NULL,
`birthdate` date NOT NULL,
`permission` varchar(5) NOT NULL,
UNIQUE KEY `id` (`id`)
);