io.convergence_platform.common.database.migrations.BaseDatabaseMigration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of service-lib Show documentation
Show all versions of service-lib Show documentation
Holds the common functionality needed by all Convergence Platform-based services written in Java.
The newest version!
package io.convergence_platform.common.database.migrations;
import io.convergence_platform.common.database.IDatabaseMigration;
import java.util.List;
public abstract class BaseDatabaseMigration extends BaseMigration implements IDatabaseMigration {
private final String _name;
public BaseDatabaseMigration(String name) {
_name = name;
}
@Override
public String name() {
return _name;
}
public abstract List getDependencies();
public abstract String getMigrationDDL(SqlDialectFormatter formatters);
@Override
public boolean allowFailure() {
return false;
}
}