chore: sync local changes to Gitea
This commit is contained in:
3
migrations/0005_probe_stream.sql
Normal file
3
migrations/0005_probe_stream.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- 全局探测是否使用流式 API(1=流式,0=非流式)
|
||||
|
||||
ALTER TABLE app_settings ADD COLUMN probe_stream INTEGER NOT NULL DEFAULT 1 CHECK (probe_stream IN (0, 1));
|
||||
3
migrations/0006_probe_stream_per_monitor.sql
Normal file
3
migrations/0006_probe_stream_per_monitor.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- 每条监控单独配置是否流式(1=流式,0=非流式)。未应用过 0005 的数据库也可执行本迁移。
|
||||
|
||||
ALTER TABLE monitors ADD COLUMN probe_stream INTEGER NOT NULL DEFAULT 1 CHECK (probe_stream IN (0, 1));
|
||||
3
migrations/0007_show_on_dashboard.sql
Normal file
3
migrations/0007_show_on_dashboard.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- 是否在首页展示该监控卡片(1=展示,0=仅后台管理可见,仍参与探测)
|
||||
|
||||
ALTER TABLE monitors ADD COLUMN show_on_dashboard INTEGER NOT NULL DEFAULT 1 CHECK (show_on_dashboard IN (0, 1));
|
||||
Reference in New Issue
Block a user