Fix the provider id in the database migration example (#14038)
Closes #14037
This commit is contained in:
parent
c6c65ad10b
commit
c968925298
1 changed files with 3 additions and 3 deletions
|
@ -141,16 +141,16 @@ Keycloak automatically chooses the appropriate JDBC driver for your vendor.
|
|||
To setup the JPA migrationStrategy (manual/update/validate) you should setup JPA provider as follows:
|
||||
|
||||
.Setting the `migration-strategy` for the `quarkus` provider of the `connections-jpa` SPI
|
||||
<@kc.start parameters="--spi-connections-jpa-quarkus-migration-strategy=manual"/>
|
||||
<@kc.start parameters="--spi-connections-jpa-legacy-migration-strategy=manual"/>
|
||||
|
||||
If you want to get a SQL file for DB initialization, too, you have to add this additional SPI initializeEmpty (true/false):
|
||||
|
||||
.Setting the `initialize-empty` for the `quarkus` provider of the `connections-jpa` SPI
|
||||
<@kc.start parameters="--spi-connections-jpa-quarkus-initialize-empty=false"/>
|
||||
<@kc.start parameters="--spi-connections-jpa-legacy-initialize-empty=false"/>
|
||||
|
||||
In the same way the migrationExport to point to a specific file and location:
|
||||
|
||||
.Setting the `migration-export` for the `quarkus` provider of the `connections-jpa` SPI
|
||||
<@kc.start parameters="--spi-connections-jpa-quarkus-migration-export=<path>/<file.sql>"/>
|
||||
<@kc.start parameters="--spi-connections-jpa-legacy-migration-export=<path>/<file.sql>"/>
|
||||
|
||||
</@tmpl.guide>
|
||||
|
|
Loading…
Reference in a new issue