Created
March 30, 2017 05:10
-
-
Save web-hat/2b05eaf48bd9d3ac5914ab90928a5a68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MyModel extends Eloquent { | |
//... | |
protected $connection = 'mysql_second'; | |
//... | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment