File tree Expand file tree Collapse file tree
Database/Eloquent/Relations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function qualifyColumn($column)
3737 $ connection = $ this ->getConnection ();
3838 $ prefix = $ connection ->getTablePrefix ();
3939
40- return $ prefix . $ this ->getTable () . '. ' . $ c ;
40+ return $ prefix. $ this ->getTable (). '. ' . $ c ;
4141 }, $ column );
4242 }
4343
Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ public function associate($model)
5454 $ relationName = property_exists ($ this , 'relationName ' ) ? $ this ->relationName : $ this ->relation ;
5555 if ($ model instanceof Model) {
5656 $ this ->child ->setRelation ($ relationName , $ model );
57- // proper unset // https://github.com/illuminate/database/commit/44411c7288fc7b7d4e5680cfcdaa46d348b5c981
5857 } elseif ($ this ->child ->isDirty ($ this ->foreignKey )) {
58+ // proper unset // https://github.com/illuminate/database/commit/44411c7288fc7b7d4e5680cfcdaa46d348b5c981
5959 $ this ->child ->unsetRelation ($ relationName );
6060 }
6161
You can’t perform that action at this time.
0 commit comments