chore(publish): 删除草稿表与草稿模型

This commit is contained in:
toom1996
2026-09-23 13:55:24 +08:00
parent c4bafc5b41
commit d68a57009c
6 changed files with 672 additions and 2325 deletions

View 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;