Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaprasadreddy committed May 10, 2023
1 parent 7c43fb9 commit db5a79a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
The `jooq-testcontainers-codegen-maven-plugin` simplifies the jOOQ code generation
by using [Testcontainers](https://www.testcontainers.org/) and applying Flyway database migrations.

[![Build](https://github.com/sivalabs/jooq-testcontainers-codegen-maven-plugin/actions/workflows/build.yml/badge.svg)](https://github.com/sivalabs/jooq-testcontainers-codegen-maven-plugin/actions/workflows/build.yml)
![Maven Central](https://img.shields.io/maven-central/v/io.github.sivalabs/jooq-testcontainers-codegen-maven-plugin)

## Supported databases:
* Postgres
* MySQL
Expand Down Expand Up @@ -58,7 +61,17 @@ by using [Testcontainers](https://www.testcontainers.org/) and applying Flyway d
<phase>generate-sources</phase>
<configuration>
<database>
<!--
"type" can be: POSTGRES, MYSQL, MARIADB
-->
<type>POSTGRES</type>
<!--
"containerImage" is optional.
The defaults are
POSTGRES: postgres:15.2-alpine
MYSQL: mysql:8.0.33
MARIADB: mariadb:10.11
-->
<containerImage>postgres:15.2-alpine</containerImage>
</database>
<flyway>
Expand All @@ -67,6 +80,10 @@ by using [Testcontainers](https://www.testcontainers.org/) and applying Flyway d
filesystem:src/main/resources/db/migration/postgresql
</locations>
</flyway>
<!--
You can configure any supporting jooq config here.
see https://www.jooq.org/doc/latest/manual/code-generation/codegen-configuration/
-->
<generator>
<database>
<includes>.*</includes>
Expand Down

0 comments on commit db5a79a

Please sign in to comment.