2026-10-28· 3 分钟

EF Core 迁移漂移:空 Up 不是无害优化

Up 里没有 DDL、snapshot 却有净变更就是漂移;migrations add 从不连库,只能靠双向表清单 diff 发现。