Rename migration files from v195 to v196 (#23194)

Renamed migration classes and utilities to v196 for MySQL and PostgreSQL.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: --global <--global>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Himanshu Khairajani 2025-09-02 12:55:48 +05:30 committed by GitHub
parent f39aadb051
commit b6788677f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

View File

@ -1,9 +1,9 @@
package org.openmetadata.service.migration.mysql.v195; package org.openmetadata.service.migration.mysql.v196;
import lombok.SneakyThrows; import lombok.SneakyThrows;
import org.openmetadata.service.migration.api.MigrationProcessImpl; import org.openmetadata.service.migration.api.MigrationProcessImpl;
import org.openmetadata.service.migration.utils.MigrationFile; import org.openmetadata.service.migration.utils.MigrationFile;
import org.openmetadata.service.migration.utils.v195.MigrationUtil; import org.openmetadata.service.migration.utils.v196.MigrationUtil;
public class Migration extends MigrationProcessImpl { public class Migration extends MigrationProcessImpl {

View File

@ -1,9 +1,9 @@
package org.openmetadata.service.migration.postgres.v195; package org.openmetadata.service.migration.postgres.v196;
import lombok.SneakyThrows; import lombok.SneakyThrows;
import org.openmetadata.service.migration.api.MigrationProcessImpl; import org.openmetadata.service.migration.api.MigrationProcessImpl;
import org.openmetadata.service.migration.utils.MigrationFile; import org.openmetadata.service.migration.utils.MigrationFile;
import org.openmetadata.service.migration.utils.v195.MigrationUtil; import org.openmetadata.service.migration.utils.v196.MigrationUtil;
public class Migration extends MigrationProcessImpl { public class Migration extends MigrationProcessImpl {

View File

@ -1,4 +1,4 @@
package org.openmetadata.service.migration.utils.v195; package org.openmetadata.service.migration.utils.v196;
import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
@ -42,7 +42,7 @@ public class MigrationUtil {
*/ */
public void migrateAutomatorTagsAndTerms(Handle handle) { public void migrateAutomatorTagsAndTerms(Handle handle) {
try { try {
LOG.info("Starting v195 migration of automator tags and terms separation"); LOG.info("Starting v196 migration of automator tags and terms separation");
int totalProcessed = 0; int totalProcessed = 0;
int totalUpdated = 0; int totalUpdated = 0;
@ -169,12 +169,12 @@ public class MigrationUtil {
} }
LOG.info( LOG.info(
"Completed v195 migration of automator tags and terms separation. Processed: {}, Updated: {}", "Completed v196 migration of automator tags and terms separation. Processed: {}, Updated: {}",
totalProcessed, totalProcessed,
totalUpdated); totalUpdated);
} catch (Exception ex) { } catch (Exception ex) {
LOG.error("Error running the automator tags/terms migration", ex); LOG.error("Error running the automator tags/terms migration", ex);
throw new RuntimeException("Migration v195 failed", ex); throw new RuntimeException("Migration v196 failed", ex);
} }
} }