Fix sessions.expires not being installed
This commit is contained in:
parent
932c6ea168
commit
ddd7ce7a6d
1 changed files with 1 additions and 0 deletions
|
@ -261,6 +261,7 @@ switch ($step) {
|
|||
`id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
`user` INT NOT NULL,
|
||||
`session` VARCHAR(32) NOT NULL,
|
||||
`expires` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(),
|
||||
|
||||
INDEX `idx_user` (`session`),
|
||||
CONSTRAINT `FK_sessions_users` FOREIGN KEY (`user`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||||
|
|
Loading…
Reference in a new issue