Clivern / Ponut

:ghost: A Platform for Building Awesome Bots.
http://ponut.co
Apache License 2.0
0 stars 0 forks source link

Build Service to Execute Migrations From Command Line #11

Closed Clivern closed 6 years ago

Clivern commented 6 years ago

Build a Module to run both migrations and seeds from the command line. Also test our models.

Clivern commented 6 years ago

Run In App Root

./gradlew fatJar
java -jar build/libs/ponut_fat-1.0.0.jar migrate up
Clivern commented 6 years ago

Also you need to setup your database info in config/app.conf file https://github.com/Clivern/Ponut/blob/aab1d543b5393f7e890a0f012d2d448d5d5c0a0f/config/app.conf#L1-L7