Files
streamline/drizzle/0063_alpha_retarget.sql
T
2026-11-16 17:26:44 -08:00

6 lines
412 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.
-- 修到 alpha(shared/src/alpha_branch.ts)。
-- batches.watch_alpha_p1:增量托管新建的 P1 及以上的单走最新 alpha,默认关,存量不受影响。
-- tasks.retarget:一次「重做到 alpha」的进度(JSON),没有在挪就是 NULL。
ALTER TABLE batches ADD COLUMN IF NOT EXISTS watch_alpha_p1 bigint NOT NULL DEFAULT 0;
ALTER TABLE tasks ADD COLUMN IF NOT EXISTS retarget text;