function DatabaseSchema_sqlite::dropTable

Overrides DatabaseSchema::dropTable

1 call to DatabaseSchema_sqlite::dropTable()
DatabaseSchema_sqlite::alterTable in includes/database/sqlite/schema.inc
Create a table with a new schema containing the old content.

File

includes/database/sqlite/schema.inc, line 270

Class

DatabaseSchema_sqlite

Code

public function dropTable($table) {
    if (!$this->tableExists($table)) {
        return FALSE;
    }
    $this->connection->tableDropped = TRUE;
    $this->connection
        ->query('DROP TABLE {' . $table . '}');
    return TRUE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.