Files
hi-server/initialize/migrate/database/02155_promo_schema_fix.down.sql
T
shanshanzhong147 3e265bd837
Build docker and publish / build (20.15.1) (push) Failing after 13m47s
Build docker and publish / build (20.15.1) (pull_request) Failing after 15m7s
新功能: 还原 v1/public/user/invite_sales 接口 + promo schema 修复迁移
- 还原 /v1/public/user/invite_sales 接口及 /invite/sales 别名(与 invite_records 并存)
  逻辑/handler/types 与 197fed7d 删除前版本完全一致,按 fefbd4f5 新 routes 结构注册
- 新增迁移 02155_promo_schema_fix: 幂等修复 subscribe_promo / order 列类型与索引偏差
- 同步 etc/ppanel.yaml 数据库连接配置
- 补齐相关需求与设计文档
2026-05-28 20:46:37 -07:00

7 lines
362 B
SQL

-- 02155 down
--
-- 本迁移只是把 02154 的偏差修正回它应有的目标定义,没有引入新的列/表。
-- 回滚 02155 并不应该把列重新改坏成 varchar/INT NULL 的旧偏差,因此 down
-- 为空操作。若需彻底删除 promo 系统,请回滚到 02154 的 down。
SELECT '02155 has no destructive forward step; down is a no-op.';