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
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
fix: default schema defined in entity/connection leads to unnecessary queries during schema sync (typeorm#7575)
* working on typeorm#7276
* minor fix
* fixtypeorm#7276
* lint fix
* added `getCurrentDatabase()` and `getCurrentSchema()` methods in QueryRunner
* fixed falling test;
* fixed default schema in other drivers
constcurrentDBQuery=awaitthis.query(`SELECT "VALUE" AS "db_name" FROM "SYS"."M_SYSTEM_OVERVIEW" WHERE "SECTION" = 'System' and "NAME" = 'Instance ID'`);
constcurrentDBQuery=awaitthis.query(`SELECT "VALUE" AS "db_name" FROM "SYS"."M_SYSTEM_OVERVIEW" WHERE "SECTION" = 'System' and "NAME" = 'Instance ID'`);
0 commit comments