Mar 27, 2017
0
Level 1
Eloquent join not working for very big column name in Lumen 5.2
Eloquent join not working for very big column name 'LimitedEnglishProficiencyDescriptorId' in Lumen 5.2, is this a bug or am i missing something.
Example join
public function proficiency() { return $this->hasOne('App\Models\ODS\LimitedEnglishProficiencyDescriptor', 'LimitedEnglishProficiencyDescriptorId','LimitedEnglishProficiencyDescriptorId') }
$students = Student::with('proficiency')->get();
My workaround was to use alias, just wondering to find the reason
Please or to participate in this conversation.