s.ebean-init.1.3.source-code.tp-GenerateDbMigration Maven / Gradle / Ivy
package main;
import io.ebean.annotation.Platform;
import io.ebean.dbmigration.DbMigration;
import java.io.IOException;
/**
* Generate the DB Migration.
*/
public class GenerateDbMigration {
public static void main(String[] args) throws Exception {
DbMigration dbMigration = DbMigration.create();
dbMigration.setPlatform(Platform.POSTGRES);
// generate the migration ddl and xml
dbMigration.generateMigration();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy