Skip to content

Commit c978435

Browse files
committed
GH-158 - Polishing.
Slightly more detailed docs on activating the schema initialization.
1 parent 23e4bc5 commit c978435

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/docs/asciidoc/40-events.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ To actually write the event publication log, Spring Modulith exposes an `EventPu
129129
You select the persistence technology to be used by adding the corresponding JAR to your Spring Modulith application.
130130
We have prepared dedicated <<events.starters, starters>> to ease that task.
131131

132-
The JDBC-based implementation can create a dedicated table for the event publication log when the respective configuration property is enabled.
132+
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`.
133133
For details, please consult the <<appendix.schemas, schema overview>> in the appendix.
134134

135135
[[events.serialization]]

src/docs/asciidoc/90-appendix.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ a|* `spring-modulith-docs`
8686
[[appendix.schemas]]
8787
== Event publication registry schemas
8888

89+
The JDBC-based event publication registry support expects the following database schemas to be present in the database.
90+
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`.
91+
8992
[[appendix.schemas.h2]]
9093
=== H2
9194

0 commit comments

Comments
 (0)