Written in Kotlin. A sample application demonstrating how to use JOOQ and Flyway to facilitate type-safe, immutable database management and interaction. This repository serves as a minimal, reproducible sandbox for understanding how these tools work together.
Automatically starts docker compose, spins up a local PostgreSQL database, migrates the schema, and generates the JOOQ classes.
./gradlew build
Automatically starts docker compose, spins up a local PostgreSQL database, migrates the schema, and generates the JOOQ classes.
./gradlew run
Starts the local instance of PostgreSQL in isolation.
./gradlew composeUp
./gradlew composeDown
Automatically starts docker compose, and spins up a local PostgreSQL database. Migrates the schema in isolation.
./gradlew flywayMigrate
Automatically starts docker compose, spins up a local PostgreSQL database, and migrates the schema. Generates the JOOQ classes in isolation.
./gradlew generateJooq