You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: synchronize with typeorm_metadata table only if needed (typeorm#9175)
* fix: create typeorm metadata table before migration, if not exists
Creating a view in a migration results in an error: `QueryFailedError:
relation "typeorm_metadata" does not exist` (see typeorm#9173). This fix
creates the table before a migration runs.
Closes: typeorm#9173
* refactor: use function from RdbmsSchemaBuilder to create typeorm_metadata table
* test: add test for fix issue typeorm#9173
* test: replace describe.only() with describe()
* refactor: apply suggestions from review
* refactor: add syncWithMetadata param to createView function
* style: run npm format
* removed only test
* test: add missing syncWithMetaData parameter in create-view.ts
Co-authored-by: Umed Khudoiberdiev <[email protected]>
0 commit comments