Class DbSchemas

java.lang.Object
migratedb.v1.core.internal.command.DbSchemas

public class DbSchemas extends Object
Handles MigrateDB 's automatic schema creation.
  • Constructor Details

    • DbSchemas

      public DbSchemas(Database<?> database, Schema<?,?>[] schemas, SchemaHistory schemaHistory, CallbackExecutor callbackExecutor)
      Creates a new DbSchemas.
      Parameters:
      database - The database to use.
      schemas - The schemas managed by MigrateDB.
      schemaHistory - The schema history table.
  • Method Details

    • create

      public void create(boolean baseline)
      Creates the schemas.
      Parameters:
      baseline - Whether to include the creation of a baseline marker.