Files
junhong_cmp_fiber/migrations/000270_widen_exchange_reason.up.sql
邹进 b3f66a01a8 chore: 补充换货原因长度放宽迁移 000270
生产库与测试库已手动执行,迁移重复执行结果不变;回滚不缩短长度,避免截断已有数据。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 11:15:39 +09:00

5 lines
320 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 换货原因长度上限从 100 放宽到 500(与创建换货单请求校验一致)。
-- 生产库与测试库已于 2026-11-03 手动执行同一语句;重复执行结果不变。
-- varchar 加长只改元数据,不重写表。
ALTER TABLE tb_exchange_order ALTER COLUMN exchange_reason TYPE varchar(500);