fix: #192 session id truncated
This commit is contained in:
parent
523a5b18f9
commit
9d3e0cc16d
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ switch ($step) {
|
||||||
'CREATE TABLE `sessions` (
|
'CREATE TABLE `sessions` (
|
||||||
`id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
`id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||||
`user` INT NOT NULL,
|
`user` INT NOT NULL,
|
||||||
`session` VARCHAR(32) NOT NULL,
|
`session` VARCHAR(60) NOT NULL,
|
||||||
`expires` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(),
|
`expires` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(),
|
||||||
|
|
||||||
INDEX `idx_user` (`session`),
|
INDEX `idx_user` (`session`),
|
||||||
|
|
Loading…
Reference in a new issue