mirror of https://github.com/AMT-Cheif/drift.git
Merge branch 'master' into develop
This commit is contained in:
commit
27a9256a76
|
@ -16,7 +16,7 @@ part 'todos_dao.g.dart';
|
|||
// fields for the tables. The <MyDatabase> type annotation is the database class
|
||||
// that should use this dao.
|
||||
@UseDao(tables: [Todos])
|
||||
class TodosDao extends DatabaseAccessor<MyDatabase> with _TodosDaoMixin {
|
||||
class TodosDao extends DatabaseAccessor<MyDatabase> with _$TodosDaoMixin {
|
||||
// this constructor is required so that the main database can create an instance
|
||||
// of this object.
|
||||
TodosDao(MyDatabase db) : super(db);
|
||||
|
|
Loading…
Reference in New Issue