Update the schema as well
This commit is contained in:
parent
b200da5453
commit
b7ac5d3534
14
schema.sql
14
schema.sql
|
@ -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,
|
||||||
|
|
Reference in New Issue