drop method

  1. @override
void drop(
  1. String tableName, {
  2. bool cascade = false,
})

Drops the table tableName. SQLite has no CASCADE, so cascade is ignored: with PRAGMA foreign_keys = ON, the rows that refer to the table must be deleted first.

Implementation

@override
void drop(String tableName, {bool cascade = false}) {
  _buf.writeln('DROP TABLE ${quotePostgresTableName(tableName)};');
}