GH-158 - Polishing.

Slightly more detailed docs on activating the schema initialization.
This commit is contained in:
Oliver Drotbohm
2023-03-07 16:34:00 +01:00
parent 23e4bc5698
commit c978435cfb
2 changed files with 4 additions and 1 deletions

View File

@@ -129,7 +129,7 @@ To actually write the event publication log, Spring Modulith exposes an `EventPu
You select the persistence technology to be used by adding the corresponding JAR to your Spring Modulith application.
We have prepared dedicated <<events.starters, starters>> to ease that task.
The JDBC-based implementation can create a dedicated table for the event publication log when the respective configuration property is enabled.
The JDBC-based implementation can create a dedicated table for the event publication log when the respective configuration property (`spring.modulith.events.jdbc-schema-initialization.enabled`) is set to `true`.
For details, please consult the <<appendix.schemas, schema overview>> in the appendix.
[[events.serialization]]

View File

@@ -86,6 +86,9 @@ a|* `spring-modulith-docs`
[[appendix.schemas]]
== Event publication registry schemas
The JDBC-based event publication registry support expects the following database schemas to be present in the database.
If you would like Spring Modulith to create the schema for you, set the application property `spring.modulith.events.jdbc-schema-initialization.enabled` to `true`.
[[appendix.schemas.h2]]
=== H2