Package me.scolastico.tools.ebean
Class DatabaseMigrationGenerator
- java.lang.Object
-
- me.scolastico.tools.ebean.DatabaseMigrationGenerator
-
public class DatabaseMigrationGenerator extends java.lang.Object
DatabaseMigrationGenerator to generate ebean migration dll's.
-
-
Constructor Summary
Constructors Constructor Description DatabaseMigrationGenerator()
-
Method Summary
Modifier and Type Method Description static void
create(java.lang.String version, java.lang.String name)
Generate database migration dll's.
-
-
-
Method Detail
-
create
public static void create(java.lang.String version, java.lang.String name) throws java.io.IOException
Generate database migration dll's. Run this function once in development after you changed something in the database classes.- Parameters:
version
- The semantic version string of the database.name
- The name of this migration.- Throws:
java.io.IOException
- If the files can't be written.
-
-