2017-12-06 11:51:15 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Modules\Sample\Database\Seeders;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
2019-08-27 00:32:46 +08:00
|
|
|
use Illuminate\Database\Seeder;
|
2017-12-06 11:51:15 +08:00
|
|
|
|
|
|
|
class SampleDatabaseSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
|
|
|
Model::unguard();
|
|
|
|
|
|
|
|
// $this->call("OthersTableSeeder");
|
|
|
|
}
|
|
|
|
}
|