Initial import of streamline
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
-- 归档反馈(见 shared/src/archive_reasons.ts 和 control-server/src/archive_feedback_db.ts)。
|
||||
--
|
||||
-- 抽屉里点「归档」时可以顺手选一个原因、写一句话(都可选)。用来收集大家不愿意继续
|
||||
-- 在平台上跟这张单的原因。每次归档都记一行,没选原因也记(reason/note 为 null),
|
||||
-- 这样能看出有多少人愿意填。
|
||||
--
|
||||
-- kind 用 WorkItem 的叫法(bug / feature);status_before 和 round 记归档那一刻的状态
|
||||
-- 和第几轮,方便按「复核时放弃」「修失败后放弃」分开看。
|
||||
CREATE TABLE IF NOT EXISTS "archive_feedback" (
|
||||
"id" text PRIMARY KEY,
|
||||
"kind" text NOT NULL,
|
||||
"target_id" text NOT NULL,
|
||||
"status_before" text,
|
||||
"round" bigint,
|
||||
"reason" text,
|
||||
"note" text,
|
||||
"by" text,
|
||||
"at" bigint NOT NULL
|
||||
);
|
||||
CREATE INDEX IF NOT EXISTS "archive_feedback_at_idx" ON "archive_feedback" ("at");
|
||||
Reference in New Issue
Block a user