Keep the Spring Modulith 1.x JDBC event publication table

Proprietary

Add spring.modulith.events.jdbc.use-legacy-structure=true to existing Spring configuration files of applications that use the JDBC event publication registry of Spring Modulith 1.x. Spring Modulith 2.0 expects an event_publication table with additional columns and does not alter an existing table, so publishing an event fails until the table is migrated.

io.moderne.java.spring.boot4.PreserveSpringModulithJdbcEventPublicationStructure
mod run . --recipe=io.moderne.java.spring.boot4.PreserveSpringModulithJdbcEventPublicationStructure

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.