All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.convergence_platform.common.database.migrations.BaseDatabaseMigration Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy