diff --git a/lib/methods/excursion_db_helper.dart b/lib/methods/excursion_db_helper.dart index 52e1733..e04ccf3 100644 --- a/lib/methods/excursion_db_helper.dart +++ b/lib/methods/excursion_db_helper.dart @@ -86,14 +86,14 @@ class ExcursionDBHelper implements IDb{ Future addTemplate(Map templates) async { var excursionDBClient = await dB; - final existingCID = await excursionDBClient.query( - 'excursionTemplates', - where: 'ID = ?', - whereArgs: [templates['ID']], - ); - if (existingCID.isNotEmpty) { - return; - } + // final existingCID = await excursionDBClient.query( + // 'excursionTemplates', + // where: 'ID = ?', + // whereArgs: [templates['ID']], + // ); + // if (existingCID.isNotEmpty) { + // return; + // } await excursionDBClient.insert( 'excursionTemplates', diff --git a/lib/methods/place_db_helper.dart b/lib/methods/place_db_helper.dart index 24771bc..198a7a3 100644 --- a/lib/methods/place_db_helper.dart +++ b/lib/methods/place_db_helper.dart @@ -85,14 +85,14 @@ class PlaceDBHelper implements IDb{ Future addTemplate(Map templates) async { var placeDBClient = await dB; - final existingCID = await placeDBClient.query( - 'placeTemplates', - where: 'ID = ?', - whereArgs: [templates['ID']], - ); - if (existingCID.isNotEmpty) { - return; - } + // final existingCID = await placeDBClient.query( + // 'placeTemplates', + // where: 'ID = ?', + // whereArgs: [templates['ID']], + // ); + // if (existingCID.isNotEmpty) { + // return; + // } await placeDBClient.insert( 'placeTemplates',