Package io.ebean.migration.runner
Class MigrationSchema
- java.lang.Object
-
- io.ebean.migration.runner.MigrationSchema
-
public class MigrationSchema extends Object
Create Schema if needed and set current Schema in Migration
-
-
Constructor Summary
Constructors Constructor Description MigrationSchema(MigrationConfig migrationConfig, Connection connection)Construct with configuration and connection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateAndSetIfNeeded()Create and set the DB schema if desired.
-
-
-
Constructor Detail
-
MigrationSchema
public MigrationSchema(MigrationConfig migrationConfig, Connection connection)
Construct with configuration and connection.
-
-
Method Detail
-
createAndSetIfNeeded
public void createAndSetIfNeeded() throws SQLException
Create and set the DB schema if desired.- Throws:
SQLException
-
-