Files
junhong_cmp_fiber/migrations/000152_add_direct_exchange_flow.down.sql
Break 5f57429fb0
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m28s
直接换货流程
2026-06-03 16:55:32 +08:00

10 lines
347 B
SQL

-- 回滚直接换货流程字段与索引
DROP INDEX IF EXISTS idx_exchange_order_completed_at;
DROP INDEX IF EXISTS idx_exchange_order_new_asset;
DROP INDEX IF EXISTS idx_exchange_order_flow_status;
ALTER TABLE tb_exchange_order
DROP COLUMN IF EXISTS completed_at,
DROP COLUMN IF EXISTS shipped_at,
DROP COLUMN IF EXISTS flow_type;