Created
December 1, 2015 07:51
-
-
Save kamaulynder/4d1a8421e544b3e96c62 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
use Illuminate\Database\Seeder; | |
use Illuminate\Database\Eloquent\Model; | |
use RollCall\Seeders\OauthTableSeeder; | |
use RollCall\Seeders\UserTableSeeder; | |
class DatabaseSeeder extends Seeder | |
{ | |
/** | |
* Run the database seeds. | |
* | |
* @return void | |
*/ | |
public function run() | |
{ | |
Model::unguard(); | |
$this->call(OauthTableSeeder::class); | |
$this->call(UserTableSeeder::class); | |
Model::reguard(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment