public class SchemaOnlyMigration extends java.lang.Object implements Migration
Constructor and Description |
---|
SchemaOnlyMigration(java.lang.String[] statements) |
Modifier and Type | Method and Description |
---|---|
void |
runMigration(SQLDatabase db)
Implementors should run all migration steps in this method.
|
public void runMigration(SQLDatabase db) throws java.lang.Exception
Migration
runMigration
in interface Migration
db
- The SQLDatabase
to migratejava.lang.Exception
- an exception was thrown during migration