chore: data table for users openid auth
This commit is contained in:
parent
d4be2e2815
commit
f59876f920
15
sql/openid_users.sql
Normal file
15
sql/openid_users.sql
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
DROP TABLE openid_users;
|
||||||
|
CREATE TABLE IF NOT EXISTS openid_users
|
||||||
|
(
|
||||||
|
id INTEGER PRIMARY KEY NOT NULL,
|
||||||
|
name TEXT NOT NULL,
|
||||||
|
application TEXT NOT NULL,
|
||||||
|
appkey TEXT NOT NULL,
|
||||||
|
userid INTEGER NOT NULL,
|
||||||
|
description TEXT NOT NULL,
|
||||||
|
created TEXT NOT NULL,
|
||||||
|
lastaccess TEXT NOT NULL
|
||||||
|
);
|
||||||
|
CREATE UNIQUE INDEX idx_openid_app_name
|
||||||
|
ON openid_users (application,name);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user