new users schema
changed column names to be more concise
This commit is contained in:
parent
57dad692ae
commit
811c6902ac
@ -4,10 +4,10 @@
|
|||||||
-- password: yea
|
-- password: yea
|
||||||
-- email: used for signing in to the server
|
-- email: used for signing in to the server
|
||||||
CREATE TABLE IF NOT EXISTS `users` (
|
CREATE TABLE IF NOT EXISTS `users` (
|
||||||
`userid` bigint UNSIGNED NOT NULL auto_increment,
|
`id` bigint UNSIGNED NOT NULL auto_increment,
|
||||||
`username` varchar(255) NOT NULL,
|
`name` varchar(255) NOT NULL,
|
||||||
`key` varchar(255) NOT NULL,
|
`secret` varchar(255) NOT NULL,
|
||||||
`date` bigint UNSIGNED NOT NULL,
|
`date` bigint UNSIGNED NOT NULL,
|
||||||
`status` int NOT NULL,
|
`status` int NOT NULL,
|
||||||
PRIMARY KEY( `userid` )
|
PRIMARY KEY( `id` )
|
||||||
);
|
);
|
@ -18,10 +18,10 @@ table! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
table! {
|
table! {
|
||||||
users (userid) {
|
users (id) {
|
||||||
userid -> Unsigned<Bigint>,
|
id -> Unsigned<Bigint>,
|
||||||
username -> Varchar,
|
name -> Varchar,
|
||||||
key -> Varchar,
|
secret -> Varchar,
|
||||||
date -> Unsigned<Bigint>,
|
date -> Unsigned<Bigint>,
|
||||||
status -> Integer,
|
status -> Integer,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user