fixed RHSSO-903

This commit is contained in:
Jen Malloy 2017-03-27 13:13:11 -04:00
parent d0b3b50dd3
commit 2d3a003a16

View file

@ -1,23 +1,25 @@
=== Database Configuration === Database Configuration
The configuration for this component lies in the `standalone.xml`, `standalone-ha.xml`, or `domain.xml` file The configuration for this component is found in the `standalone.xml`, `standalone-ha.xml`, or `domain.xml` file in your distribution. The location of this file depends on your <<fake/../../operating-mode.adoc#_operating-mode, operating mode>>.
in your distribution. The location of this file
depends on your <<fake/../../operating-mode.adoc#_operating-mode, operating mode>>.
.Database Config .Database Config
[source,xml] [source,xml]
---- ----
<spi name="connectionsJpa"> <subsystem xmlns="urn:jboss:domain:keycloak-server:1.1">
<provider name="default" enabled="true"> ...
<properties> <spi name="connectionsJpa">
<property name="dataSource" value="java:jboss/datasources/KeycloakDS"/> <provider name="default" enabled="true">
<property name="initializeEmpty" value="false"/> <properties>
<property name="migrationStrategy" value="manual"/> <property name="dataSource" value="java:jboss/datasources/KeycloakDS"/>
<property name="migrationExport" value="${jboss.home.dir}/keycloak-database-update.sql"/> <property name="initializeEmpty" value="false"/>
</properties> <property name="migrationStrategy" value="manual"/>
</provider> <property name="migrationExport" value="${jboss.home.dir}/keycloak-database-update.sql"/>
</spi> </properties>
</provider>
</spi>
...
</subsystem>
---- ----
Possible configuration options are: Possible configuration options are:
@ -55,3 +57,4 @@ schema::
Specify the database schema to use Specify the database schema to use
NOTE: These configuration switches and more are described in the link:{{book.appserver.jpa.link}}[_{{book.appserver.jpa.name}}_]. NOTE: These configuration switches and more are described in the link:{{book.appserver.jpa.link}}[_{{book.appserver.jpa.name}}_].