mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
split singleton into a different class
This commit is contained in:
@@ -38,7 +38,7 @@ void main() {
|
||||
);
|
||||
db = Drift(DatabaseConnection(NativeDatabase.memory(), closeStreamsSynchronously: true));
|
||||
await StoreService.init(storeRepository: DriftStoreRepository(db));
|
||||
await MetadataRepository.ensureInitialized(db);
|
||||
await MetadataStore.ensureInitialized(db);
|
||||
|
||||
await Store.put(StoreKey.serverEndpoint, 'http://test-server.com');
|
||||
await Store.put(StoreKey.deviceId, 'test-device-id');
|
||||
|
||||
Reference in New Issue
Block a user