/**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     //
     BaseSeeder::disableForeignKeyGuard();
     Schema::dropIfExists(Key::getTableName());
     BaseSeeder::enableForeignKeyGuard();
 }
コード例 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->typeIds = collect(config('setup.properties.types'))->lists('id', 'name');
 }