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