Cake\Database\Schema\PostgresSchema::dropTableSql PHP Метод

dropTableSql() публичный Метод

Generate the SQL to drop a table.
public dropTableSql ( Cake\Database\Schema\Table $table ) : array
$table Cake\Database\Schema\Table Table instance
Результат array SQL statements to drop a table.
    public function dropTableSql(Table $table)
    {
        $sql = sprintf('DROP TABLE %s CASCADE', $this->_driver->quoteIdentifier($table->name()));
        return [$sql];
    }