mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-01 20:04:52 +00:00
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:
parent
f39aadb051
commit
b6788677f4
@ -1,9 +1,9 @@
|
||||
package org.openmetadata.service.migration.mysql.v195;
|
||||
package org.openmetadata.service.migration.mysql.v196;
|
||||
|
||||
import lombok.SneakyThrows;
|
||||
import org.openmetadata.service.migration.api.MigrationProcessImpl;
|
||||
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 {
|
||||
|
@ -1,9 +1,9 @@
|
||||
package org.openmetadata.service.migration.postgres.v195;
|
||||
package org.openmetadata.service.migration.postgres.v196;
|
||||
|
||||
import lombok.SneakyThrows;
|
||||
import org.openmetadata.service.migration.api.MigrationProcessImpl;
|
||||
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 {
|
||||
|
@ -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.ObjectMapper;
|
||||
@ -42,7 +42,7 @@ public class MigrationUtil {
|
||||
*/
|
||||
public void migrateAutomatorTagsAndTerms(Handle handle) {
|
||||
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 totalUpdated = 0;
|
||||
@ -169,12 +169,12 @@ public class MigrationUtil {
|
||||
}
|
||||
|
||||
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,
|
||||
totalUpdated);
|
||||
} catch (Exception 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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user