Files
modelping/migrations/0006_probe_stream_per_monitor.sql
2026-06-24 22:10:25 +08:00

4 lines
230 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 每条监控单独配置是否流式1=流式0=非流式)。未应用过 0005 的数据库也可执行本迁移。
ALTER TABLE monitors ADD COLUMN probe_stream INTEGER NOT NULL DEFAULT 1 CHECK (probe_stream IN (0, 1));