1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-16 21:39:11 +00:00

fix: sqlite migration drops allowed user groups

This commit is contained in:
Elias Schneider
2025-08-24 23:07:50 +02:00
parent 4b086cebcd
commit d6d1a4ced2
73 changed files with 355 additions and 62 deletions

View File

@@ -1,3 +1,5 @@
PRAGMA foreign_keys=OFF;
BEGIN;
CREATE TABLE signup_tokens (
id TEXT NOT NULL PRIMARY KEY,
created_at DATETIME NOT NULL,
@@ -8,4 +10,6 @@ CREATE TABLE signup_tokens (
);
CREATE INDEX idx_signup_tokens_token ON signup_tokens(token);
CREATE INDEX idx_signup_tokens_expires_at ON signup_tokens(expires_at);
CREATE INDEX idx_signup_tokens_expires_at ON signup_tokens(expires_at);
COMMIT;
PRAGMA foreign_keys=ON;