Added transaction method to database connection and eloquent model.
This commit is contained in:
@@ -243,7 +243,7 @@ class Query {
|
||||
*
|
||||
* @return Connection
|
||||
*/
|
||||
protected function connection()
|
||||
public function connection()
|
||||
{
|
||||
return Database::connection($this->model->connection());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user