org.openmetadata.service.migration.postgres.v120.Migration Maven / Gradle / Ivy
package org.openmetadata.service.migration.postgres.v120;
import static org.openmetadata.service.migration.utils.v120.MigrationUtil.addQueryService;
import static org.openmetadata.service.migration.utils.v120.MigrationUtil.updateGlossaryAndGlossaryTermRelations;
import lombok.SneakyThrows;
import org.openmetadata.service.migration.api.MigrationProcessImpl;
import org.openmetadata.service.migration.utils.MigrationFile;
public class Migration extends MigrationProcessImpl {
public Migration(MigrationFile migrationFile) {
super(migrationFile);
}
@Override
@SneakyThrows
public void runDataMigration() {
addQueryService(handle, collectionDAO);
updateGlossaryAndGlossaryTermRelations(handle, collectionDAO);
}
}