From cbb5e9d30c9120e4dff054f0a9c9e51759ca172b Mon Sep 17 00:00:00 2001 From: Prasanna Anbazhagan Date: Tue, 2 Jan 2024 09:57:02 +0530 Subject: [PATCH] save commit --- lib/api/db/app_database.dart | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/api/db/app_database.dart b/lib/api/db/app_database.dart index 006941b..b290e96 100644 --- a/lib/api/db/app_database.dart +++ b/lib/api/db/app_database.dart @@ -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>>> getBackup() async { final basketBackup = await executor.runSelect('SELECT * FROM basket_table', []);