Skip to content

Commit

Permalink
save commit
Browse files Browse the repository at this point in the history
  • Loading branch information
praslnx8 committed Jan 2, 2024
1 parent 39cc7e7 commit cbb5e9d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/api/db/app_database.dart
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,6 @@ class AppDatabase extends _$AppDatabase {
@override
int get schemaVersion => 1;

@override
MigrationStrategy get migration =>
MigrationStrategy(onUpgrade: (m, from, to) async {
//Place your migrations here
}, onCreate: (m) async {
m.createAll();
});

Future<Map<String, List<Map<String, dynamic>>>> getBackup() async {
final basketBackup =
await executor.runSelect('SELECT * FROM basket_table', []);
Expand Down

0 comments on commit cbb5e9d

Please sign in to comment.