chore: sync local changes to Gitea

This commit is contained in:
shumengya
2026-06-24 22:10:25 +08:00
parent ea07531243
commit 5c44179c2c
50 changed files with 6892 additions and 869 deletions

View File

@@ -0,0 +1,3 @@
-- 全局探测是否使用流式 API1=流式0=非流式)
ALTER TABLE app_settings ADD COLUMN probe_stream INTEGER NOT NULL DEFAULT 1 CHECK (probe_stream IN (0, 1));

View 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));

View 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));