--- title: T0.3:完整表用 0002,写入队列暂不合并 type: decision permalink: main/projects/25464650-ed5d-440e-b362-190f2852d451/t0.3-完整表用-0002-写入队列暂不合并 stable_id: bcb76405-24ef-4daf-b346-f02f06d8dda7 scope: project memory_type: decision project_id: 25464650-ed5d-440e-b362-190f2852d451 usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 status: active revision: 1 request_id: nixmsg-t03-decision-0002-20260930 created_at: '2026-09-29T22:00:08.446242+00:00' updated_at: '2026-09-29T22:00:08.446242+00:00' tags: - t03 - store - migration --- T0.3 决定:因 T0.1 的 0001_init.sql(SELECT 1)可能已写入已有库 schema_migrations,完整表结构放在新增的 0002_schema.sql,不改写 0001 语义。schema_migrations 表由迁移执行器 CREATE IF NOT EXISTS 维护。写入队列 T0.3 用互斥一操作一事务,合并提交留给 P2。