通过 DB::statement 设置架构/重命名迁移会导致 Eloquent 属性推断失败
作者: andrioac创建于 2026年8月12日更新于 2026年8月12日
标签bug
We first suspected the Eloquent `belongsTo()` relationship and the conventional `etapa_censo_id` foreign key. Before changing the database architecture, we added a Feature test that exercised the actual relationship against PostgreSQL:
内容来源: larastan/larastan