chore: Revert hive collections changes

This commit is contained in:
Christian Pauly 2022-08-28 08:03:53 +02:00
parent b4a1d23e8b
commit 703cc1109f
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

@ -52,7 +52,7 @@ dependencies:
future_loading_dialog: ^0.2.3
geolocator: ^7.6.2
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
http: ^0.13.4
image: ^3.1.1