609 B
609 B
Boruto
Database
The server runs database migrations before Javalin starts.
By default, it connects to:
jdbc:postgresql://localhost:5432/boruto
username: boruto
password: boruto
Override those values with:
DATABASE_URLorJDBC_DATABASE_URLDATABASE_USERNAME,POSTGRES_USER, orDB_USERDATABASE_PASSWORD,POSTGRES_PASSWORD, orDB_PASSWORD
Migrations are classes in dev.mduchene.database.migrations. The migration
runner discovers classes in that package and runs unapplied migrations ordered by
class name.