mirror of
https://github.com/hotyue/IP-Sentinel.git
synced 2026-09-05 23:49:56 +08:00
feat(master): [v3.5.3] 升级 SQLite 初始表结构,新增模块状态追踪字段以支持红绿灯 UI (Resolves #19)
This commit is contained in:
@@ -135,6 +135,8 @@ CREATE TABLE IF NOT EXISTS nodes (
|
|||||||
last_seen DATETIME DEFAULT CURRENT_TIMESTAMP,
|
last_seen DATETIME DEFAULT CURRENT_TIMESTAMP,
|
||||||
region TEXT DEFAULT 'UNKNOWN',
|
region TEXT DEFAULT 'UNKNOWN',
|
||||||
node_alias TEXT,
|
node_alias TEXT,
|
||||||
|
enable_google TEXT DEFAULT 'true',
|
||||||
|
enable_trust TEXT DEFAULT 'true',
|
||||||
PRIMARY KEY(chat_id, node_name)
|
PRIMARY KEY(chat_id, node_name)
|
||||||
);
|
);
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user