Class DbBaseline
- java.lang.Object
-
- migratedb.v1.core.internal.command.DbBaseline
-
public class DbBaseline extends Object
Handles MigrateDB 's baseline command.
-
-
Constructor Summary
Constructors Constructor Description DbBaseline(SchemaHistory schemaHistory, Version baselineVersion, String baselineDescription, CallbackExecutor callbackExecutor, Database database)Creates a new DbBaseline.
-
-
-
Constructor Detail
-
DbBaseline
public DbBaseline(SchemaHistory schemaHistory, Version baselineVersion, String baselineDescription, CallbackExecutor callbackExecutor, Database database)
Creates a new DbBaseline.- Parameters:
schemaHistory- The database schema history table.baselineVersion- The version to tag an existing schema with when executing baseline.baselineDescription- The description to tag an existing schema with when executing baseline.callbackExecutor- The callback executor.database- Database-specific functionality.
-
-
Method Detail
-
baseline
public BaselineResult baseline()
Baselines the database.
-
-