@override Future<int> deleteAll({Database? database}) async { final Database db = database != null ? database : this.database; await db.delete(this.entity.tableName); return 1; }