-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to generate db script based on model #710
Comments
You could either use something like JPA or ebean (https://github.com/ninjaframework/ninja-ebean) to that end. |
Or maybe I got it wrong and you mean the DDL? Then you could use JPA/Hibernate which support that. But to be honest - I always do this via flyway manually. It's much better and you'll need migrations anyway in reality. |
(Sorry for necroposting.) If you choose Ebean, then it could help you to create the whole database (CREATE ALL) with Ebean could also help with migrations: not just generating them but also running them:
|
How to generate db script based on model
Create table
The text was updated successfully, but these errors were encountered: