fixed start issue
This commit is contained in:
@ -237,6 +237,7 @@ class DatabaseHelper {
|
||||
}
|
||||
|
||||
Future<int> insertDestination(Destination dest) async {
|
||||
await deleteDestination(dest.location_id!);
|
||||
Database db = await instance.database;
|
||||
int? nextOrder = Sqflite.firstIntValue(
|
||||
await db.rawQuery('SELECT MAX(list_order) FROM destination'));
|
||||
|
||||
Reference in New Issue
Block a user