Skip to content

Commit

Permalink
fixing issues with webview
Browse files Browse the repository at this point in the history
  • Loading branch information
maycon-mello committed Aug 7, 2023
1 parent d5e0c32 commit 0a8c934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/data-store/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export async function initializeTypeORM(options: DataStoreConfigs) {
type: (options.dbType as any) || 'sqlite',
database: options.databasePath,
entities: [WalletEntity, NetworkEntity, DocumentEntity, DocumentTypeEntity],
synchronize: false,
synchronize: process.env.NODE_ENV === 'test',
dropSchema: options.dropSchema,
driver: options.driver,
sqlJsConfig: options.sqlJsConfig,
Expand Down

0 comments on commit 0a8c934

Please sign in to comment.