上次 add_type_reason 迁移已在生产跑过(无 change), 导致 permanent 类型插入 NULL 时报 1048 错误。 新建专用迁移用 DB::statement ALTER TABLE 直接生效, 绕过 doctrine/dbal ->change() 的潜在兼容问题。
上次 add_type_reason 迁移已在生产跑过(无 change), 导致 permanent 类型插入 NULL 时报 1048 错误。 新建专用迁移用 DB::statement ALTER TABLE 直接生效, 绕过 doctrine/dbal ->change() 的潜在兼容问题。