chore(publish): 删除草稿表与草稿模型
This commit is contained in:
9
db/migrations/2026-09-22-02-drop-draft-tables.sql
Normal file
9
db/migrations/2026-09-22-02-drop-draft-tables.sql
Normal file
@ -0,0 +1,9 @@
|
||||
-- 单表发布模型收尾:删除 4 张草稿表。
|
||||
--
|
||||
-- ⚠️ 执行前置条件:scripts/migrate_single_table 已跑完且校验通过(否则草稿数据会丢失)。
|
||||
-- 本迁移不可逆:执行前请确认 db/backups 有可用备份。
|
||||
|
||||
DROP TABLE IF EXISTS brand_runway_draft_images;
|
||||
DROP TABLE IF EXISTS brand_runway_drafts;
|
||||
DROP TABLE IF EXISTS street_snap_draft_images;
|
||||
DROP TABLE IF EXISTS street_snap_drafts;
|
||||
Reference in New Issue
Block a user