new users schema

changed column names to be more concise
This commit is contained in:
shockrah
2020-05-06 00:35:01 -07:00
parent 57dad692ae
commit 811c6902ac
2 changed files with 8 additions and 8 deletions

View File

@@ -4,10 +4,10 @@
-- password: yea
-- email: used for signing in to the server
CREATE TABLE IF NOT EXISTS `users` (
`userid` bigint UNSIGNED NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`key` varchar(255) NOT NULL,
`id` bigint UNSIGNED NOT NULL auto_increment,
`name` varchar(255) NOT NULL,
`secret` varchar(255) NOT NULL,
`date` bigint UNSIGNED NOT NULL,
`status` int NOT NULL,
PRIMARY KEY( `userid` )
PRIMARY KEY( `id` )
);