14 lines
416 B
SQL
14 lines
416 B
SQL
-- id: simple id tracking users
|
|
-- username: default name that users have to display
|
|
-- display: used as a non-unique eye candy for users
|
|
-- password: yea
|
|
-- email: used for signing in to the server
|
|
CREATE TABLE IF NOT EXISTS `users` (
|
|
`id` bigint NOT NULL auto_increment,
|
|
`username` varchar(255) NOT NULL,
|
|
`display` varchar(255),
|
|
`password` varchar(255) NOT NULL,
|
|
`email` varchar(255),
|
|
PRIMARY KEY( `id` )
|
|
);
|