1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-13 17:17:23 +01:00

Upgrade persistent login plugin to version 5.3.0

This commit is contained in:
downtownallday
2022-06-23 17:45:40 -04:00
parent 82599e542e
commit 7f18e6ca3c
2 changed files with 2 additions and 19 deletions

View File

@@ -1,14 +0,0 @@
PRAGMA foreign_keys = ON;
CREATE TABLE IF NOT EXISTS `auth_tokens` (
`token` TEXT NOT NULL,
`expires` TEXT NOT NULL,
`user_id` INTEGER NOT NULL,
`user_name` TEXT NOT NULL,
`user_pass` TEXT NOT NULL,
`host` TEXT NOT NULL,
PRIMARY KEY(`token`),
FOREIGN KEY(`user_id`) REFERENCES `users`(`user_id`) ON DELETE CASCADE
);
CREATE INDEX IF NOT EXISTS `user_id_fk_auth_tokens` ON `auth_tokens`(`user_id`);