CREATE TABLE `users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `email` varchar(100) NOT NULL, `password` varchar(60) NOT NULL, `type` enum('user', 'admin') NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `email` (`email`) ) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;