Class DbSchemas


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

      • 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 Detail

      • create

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