2020-03-30 14:41:46 +03:00
|
|
|
CREATE TABLE users (
|
|
|
|
`id` int NOT NULL AUTO_INCREMENT,
|
2020-04-02 20:07:03 +03:00
|
|
|
`username` varchar(100) UNIQUE NOT NULL,
|
2020-04-05 22:53:42 +03:00
|
|
|
`password` varchar(128) NOT NULL,
|
|
|
|
`admin` boolean NOT NULL,
|
|
|
|
`created_at` timestamp NOT NULL,
|
2020-03-30 14:41:46 +03:00
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|