mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 00:52:50 +00:00
Merge pull request #1168 from Tria-plc/freight/nati-2
fix: rm iam migration from migrate
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
buildIamMigrationDataSourceOptions,
|
||||
buildFreightMigrationDataSourceOptions,
|
||||
FREIGHT_MIGRATIONS,
|
||||
IAM_MIGRATIONS,
|
||||
// IAM_MIGRATIONS,
|
||||
LEGACY_MIGRATIONS,
|
||||
} from "../config/database.config";
|
||||
|
||||
@@ -109,7 +109,7 @@ async function adoptLegacyHistory(
|
||||
|
||||
if (!legacyExists[0].present) return;
|
||||
|
||||
await createHistoryTable(dataSource, IAM_MIGRATIONS);
|
||||
// await createHistoryTable(dataSource, IAM_MIGRATIONS);
|
||||
await createHistoryTable(dataSource, FREIGHT_MIGRATIONS);
|
||||
|
||||
const adopt = async (
|
||||
@@ -134,7 +134,7 @@ async function adoptLegacyHistory(
|
||||
);
|
||||
};
|
||||
|
||||
await adopt(IAM_MIGRATIONS, true);
|
||||
// await adopt(IAM_MIGRATIONS, true);
|
||||
await adopt(FREIGHT_MIGRATIONS, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user