Fix the provider id in the database migration example (#14038)

Closes #14037
This commit is contained in:
Pedro Igor 2022-08-26 09:23:39 -03:00 committed by GitHub
parent c6c65ad10b
commit c968925298
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: 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 .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): 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 .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: 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 .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> </@tmpl.guide>