Class DbBaseline
java.lang.Object
migratedb.v1.core.internal.command.DbBaseline
Handles MigrateDB 's baseline command.
-
Constructor Summary
ConstructorsConstructorDescriptionDbBaseline(SchemaHistory schemaHistory, Version baselineVersion, String baselineDescription, CallbackExecutor callbackExecutor, Database<?> database) Creates a new DbBaseline. -
Method Summary
-
Constructor Details
-
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 Details
-
baseline
Baselines the database.
-