chore: Revert hive collections changes

krille/new-navigation
Christian Pauly 3 years ago
parent 8224d89c0c
commit a1912e5818

@ -62,7 +62,7 @@ class FlutterHiveCollectionsDatabase extends HiveCollectionsDatabase {
} }
final db = FlutterHiveCollectionsDatabase( final db = FlutterHiveCollectionsDatabase(
'hive_${client.clientName.replaceAll(' ', '_').toLowerCase()}', 'hive_collections_${client.clientName.replaceAll(' ', '_').toLowerCase()}',
await _findDatabasePath(client), await _findDatabasePath(client),
key: hiverCipher, key: hiverCipher,
); );

@ -839,7 +839,7 @@ packages:
name: hive name: hive
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.2.3" version: "2.2.1"
hive_flutter: hive_flutter:
dependency: "direct main" dependency: "direct main"
description: description:

@ -52,7 +52,7 @@ dependencies:
future_loading_dialog: ^0.2.3 future_loading_dialog: ^0.2.3
geolocator: ^7.6.2 geolocator: ^7.6.2
handy_window: ^0.1.6 handy_window: ^0.1.6
hive: ^2.2.3 hive: 2.2.1 # Newer version will break migration from hive collections
hive_flutter: ^1.1.0 hive_flutter: ^1.1.0
http: ^0.13.4 http: ^0.13.4
image: ^3.1.1 image: ^3.1.1

Loading…
Cancel
Save