Skip to content

Commit

Permalink
Merge pull request #142 from docknetwork/fix/webview-issues
Browse files Browse the repository at this point in the history
fixing data migration issue
  • Loading branch information
maycon-mello authored Aug 14, 2023
2 parents 569ca6b + 81f7b7f commit 5e0b0c6
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 @@ -25,7 +25,7 @@ export function getDataSource(options: DataStoreConfigs) {
dropSchema: options.dropSchema,
driver: options.driver,
sqlJsConfig: options.sqlJsConfig,
migrationsRun: process.env.NODE_ENV === 'test',
migrationsRun: process.env.NODE_ENV !== 'test',
migrations: typeOrmMigrations,
...(options.typeORMConfigs || {}),
});
Expand Down

0 comments on commit 5e0b0c6

Please sign in to comment.