getSchemaBuilder() public method

Get a schema builder instance for the connection.
public getSchemaBuilder ( ) : Illuminate\Database\Schema\Builder
return Illuminate\Database\Schema\Builder
 /**
  * drop document instance
  *
  * @param ConfigEntity $config 현제 설정 되어 있는 config
  * @return void
  */
 protected function dropDivisionTable(ConfigEntity $config)
 {
     if ($config->get('division') === true) {
         $this->connection->getSchemaBuilder()->drop(sprintf("%s%s", $this->connection->getTablePrefix(), $this->getDivisionTableName($config)));
     }
 }
 /**
  * drop document instance
  *
  * @param ConfigEntity $config 현제 설정 되어 있는 config
  * @return void
  */
 protected function dropDivisionTable(ConfigEntity $config)
 {
     if ($config->get('division') === true) {
         $this->connection->getSchemaBuilder()->drop($this->getDivisionTableName($config));
     }
 }