Changeset 0.28.0 (#172)
This commit is contained in:
11
server/database/migrations/sqlite/017_auth.sql
Normal file
11
server/database/migrations/sqlite/017_auth.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- Chat Switchboard — 017 Auth Providers (SQLite)
|
||||
-- Consolidated v0.28.0
|
||||
|
||||
CREATE TABLE IF NOT EXISTS oidc_auth_state (
|
||||
state TEXT PRIMARY KEY,
|
||||
nonce TEXT NOT NULL,
|
||||
redirect_to TEXT,
|
||||
created_at TEXT NOT NULL DEFAULT (datetime('now'))
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_oidc_state_created ON oidc_auth_state(created_at);
|
||||
Reference in New Issue
Block a user