mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
* 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 #9173). This fix creates the table before a migration runs. Closes: #9173 * refactor: use function from RdbmsSchemaBuilder to create typeorm_metadata table * test: add test for fix issue #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 <pleerock.me@gmail.com>