chore: 补充换货原因长度放宽迁移 000270
生产库与测试库已手动执行,迁移重复执行结果不变;回滚不缩短长度,避免截断已有数据。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4
migrations/000270_widen_exchange_reason.up.sql
Normal file
4
migrations/000270_widen_exchange_reason.up.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- 换货原因长度上限从 100 放宽到 500(与创建换货单请求校验一致)。
|
||||
-- 生产库与测试库已于 2026-11-03 手动执行同一语句;重复执行结果不变。
|
||||
-- varchar 加长只改元数据,不重写表。
|
||||
ALTER TABLE tb_exchange_order ALTER COLUMN exchange_reason TYPE varchar(500);
|
||||
Reference in New Issue
Block a user