Update the schema as well

This commit is contained in:
Tracker-Friendly 2024-06-25 01:33:18 +01:00
parent b200da5453
commit b7ac5d3534
1 changed files with 0 additions and 14 deletions

View File

@ -1,7 +1,6 @@
DROP TABLE IF EXISTS users; DROP TABLE IF EXISTS users;
DROP TABLE IF EXISTS userdata; DROP TABLE IF EXISTS userdata;
DROP TABLE IF EXISTS sessions; DROP TABLE IF EXISTS sessions;
DROP TABLE IF EXISTS logins;
DROP TABLE IF EXISTS blacklist; DROP TABLE IF EXISTS blacklist;
DROP TABLE IF EXISTS oauth; DROP TABLE IF EXISTS oauth;
@ -26,19 +25,6 @@ CREATE TABLE sessions (
device TEXT NOT NULL DEFAULT '?' device TEXT NOT NULL DEFAULT '?'
); );
CREATE TABLE logins (
appId TEXT NOT NULL,
secret TEXT NOT NULL,
nextsecret TEXT NOT NULL,
code TEXT NOT NULL,
nextcode TEXT NOT NULL,
creator INTEGER NOT NULL,
openid TEXT NOT NULL,
nextopenid TEXT NOT NULL,
pkce TEXT NOT NULL,
pkcemethod TEXT NOT NULL
);
CREATE TABLE blacklist ( CREATE TABLE blacklist (
openid TEXT NOT NULL, openid TEXT NOT NULL,
blacklisted BOOLEAN NOT NULL DEFAULT true, blacklisted BOOLEAN NOT NULL DEFAULT true,