Future<int> deleteAll(Object model) async { final db = await database; return await db.delete(model.runtimeType.toString()); }