user model: added enabled column
这个提交包含在:
父节点
632f689b3e
当前提交
2f7a87ce6d
@ -1,6 +1,6 @@
|
||||
CREATE TABLE page(id INTEGER PRIMARY KEY, name varchar(256), lastrevision integer, visible integer DEFAULT 1);
|
||||
CREATE TABLE user(id INTEGER PRIMARY KEY,username varchar(64),
|
||||
password blob, salt blob, permissions integer);
|
||||
password blob, salt blob, permissions integer, enabled integer DEFAULT 1);
|
||||
CREATE TABLE session(id INTEGER PRIMARY KEY, csrf_token varchar(32),
|
||||
creationtime date, userid integer , token varchar(32));
|
||||
CREATE TABLE permissions(id INTEGER PRIMARY KEY, permissions integer,
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户