mirror of https://github.com/AMT-Cheif/drift.git
pass missing initializeDatabase property to WasmProbeResult.open
This commit is contained in:
parent
417d1f59d9
commit
08e50d28f8
|
@ -150,7 +150,7 @@ class WasmDatabase extends DelegatedDatabase {
|
|||
final bestImplementation = availableImplementations.firstOrNull ??
|
||||
WasmStorageImplementation.inMemory;
|
||||
final connection = await probed.open(bestImplementation, databaseName,
|
||||
localSetup: localSetup);
|
||||
localSetup: localSetup, initializeDatabase: initializeDatabase);
|
||||
|
||||
return WasmDatabaseResult(
|
||||
connection, bestImplementation, probed.missingFeatures);
|
||||
|
|
Loading…
Reference in New Issue