Fix new registrations table generation
This commit is contained in:
parent
e524fca989
commit
873f51a7ac
|
@ -66,6 +66,8 @@ exports.init = function() {
|
||||||
`uname` VARCHAR(20) NOT NULL, \
|
`uname` VARCHAR(20) NOT NULL, \
|
||||||
`pw` VARCHAR(64) NOT NULL, \
|
`pw` VARCHAR(64) NOT NULL, \
|
||||||
`global_rank` INT NOT NULL, \
|
`global_rank` INT NOT NULL, \
|
||||||
|
`session_hash` VARCHAR(64) NOT NULL, \
|
||||||
|
`expire` BIGINT NOT NULL, \
|
||||||
PRIMARY KEY (`id`)) \
|
PRIMARY KEY (`id`)) \
|
||||||
ENGINE = MyISAM;";
|
ENGINE = MyISAM;";
|
||||||
var results = db.querySync(query);
|
var results = db.querySync(query);
|
||||||
|
|
Loading…
Reference in a new issue