dropTable<T> method
Drops the entity table T if it exists.
Implementation
Future<void> dropTable<T>() async {
await (await db).transaction(
(txn) => txn.execute('DROP TABLE IF EXISTS ${T.toString()}'),
);
}
Drops the entity table T if it exists.
Future<void> dropTable<T>() async {
await (await db).transaction(
(txn) => txn.execute('DROP TABLE IF EXISTS ${T.toString()}'),
);
}