/** * instance 내 모든 데이터 삭제 * * @param string $instanceId instance identifier * @return void */ public function dropInstance($instanceId) { if ($this->isEnable($instanceId) === true) { if ($this->schema->hasTable($this->getTable($instanceId)) === true) { $this->schema->drop($this->getTable($instanceId)); } } $this->repo->dropInstance($instanceId); }
/** * Drop a table from the schema. * * @param string $table * @return \Illuminate\Database\Schema\Blueprint * @static */ public static function drop($table) { return \Illuminate\Database\Schema\Builder::drop($table); }
/** * Reverse the migrations. * * @return void */ public function down() { $this->schema->drop('extras'); }
/** * Reverse the migrations. * * @return void */ public function down() { $this->schema->drop('ages'); }
/** * Reverse the migrations. * * @return void */ public function down() { $this->schema->drop('user_roles'); }
/** * Reverse the migrations. * * @return void */ public function down() { $this->schema->drop('products'); }
/** * Reverse the migrations. */ public function down() { $this->schema->drop('password_resets'); }
/** * Drop a table from the schema. * * @param string $table * * @return \Illuminate\Database\Schema\Blueprint */ public static function drop($table) { static::$instance = static::$instance ?: new static(); return static::$schema->drop($table); }
/** * Rollback migrations for tables only used for testing purposes. * * @return void */ protected function rollbackTestMigrations() { (new \CreateAdjustmentsTable())->down(); $this->schema->drop('fruits'); }
public function tearDown() { $this->schemaBuilder->drop($this->tableName); }
/** * Rollback migrations for tables only used for testing purposes. * * @return void */ protected function rollbackTestMigrations() { $this->schema->drop('fruits'); }
public function down() { $this->schema->drop($this->table); }
/** * Reverse the migrations. * * @return void */ public function down() { $this->schema->drop('help'); }
/** * Reverse the migrations. * * @return void */ public function down() { $this->schema->drop('countries'); }
/** * Reverse the migrations. * * @return void */ public function down() { $this->schema->drop('profiles'); }
/** * Drop a table from the schema. * * @param string $table * @return \Illuminate\Database\Schema\Blueprint */ public function drop($table) { $this->helper->dropAutoIncrementObjects($table); parent::drop($table); }
/** * Reverse the migrations. * * @return void */ public function down() { $this->schema->drop('notifications'); }