dropTable static method
Drop table
Implementation
static Future<bool> dropTable(DatabaseExecutor db, String tableName) async {
String sql = "DROP TABLE $tableName";
await db.execute(sql);
return !await isTableExisted(db, tableName);
}
Drop table
static Future<bool> dropTable(DatabaseExecutor db, String tableName) async {
String sql = "DROP TABLE $tableName";
await db.execute(sql);
return !await isTableExisted(db, tableName);
}