boruto/README.md
2026-06-23 23:57:25 -04:00

28 lines
609 B
Markdown

# Boruto
## Database
The server runs database migrations before Javalin starts.
By default, it connects to:
```text
jdbc:postgresql://localhost:5432/boruto
username: boruto
password: boruto
```
Override those values with:
- `DATABASE_URL` or `JDBC_DATABASE_URL`
- `DATABASE_USERNAME`, `POSTGRES_USER`, or `DB_USER`
- `DATABASE_PASSWORD`, `POSTGRES_PASSWORD`, or `DB_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.
## Documentation
- [SQL Builder](docs/sql-builder.md)