feat: added script to rename things in migration

This commit is contained in:
=
2025-02-11 00:18:14 +05:30
parent 6b3b13e40a
commit 6845ac0f5e
3 changed files with 58 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ const migrationStatusCheckErrorHandler = (err: Error) => {
export const runMigrations = async ({ applicationDb, auditLogDb, logger }: TArgs) => {
try {
// akhilmhdh(Feb 10 2025): 6 months from now remove this
// akhilmhdh(Feb 10 2025): 2 years from now remove this
if (isProduction) {
const migrationTable = migrationConfig.tableName;
const hasMigrationTable = await applicationDb.schema.hasTable(migrationTable);