JPGSchema
Java-friendly DDL extraction for Flyway / Liquibase migrations.
Each method returns a list of standalone SQL statements (CREATE TABLE, CREATE INDEX, etc.).
Attributes
- Source
- JPGSchema.scala
- Graph
-
- Supertypes
- Self type
-
JPGSchema.type
Members list
Value members
Concrete methods
Generate DDL for CQRS tables (states, outbox, commands).
Generate DDL for CQRS tables (states, outbox, commands).
Value parameters
- namespace
-
the namespace (used as table prefix)
- notificationType
-
PostgreSQL payload type for notifications
- stateType
-
PostgreSQL payload type for state
Attributes
- Source
- JPGSchema.scala
Generate DDL for CQRS tables with default jsonb payload types.
Generate DDL for CQRS using schema naming strategy.
Generate DDL for event sourcing tables (journal, outbox, commands, snapshots).
Generate DDL for event sourcing tables (journal, outbox, commands, snapshots).
Value parameters
- eventType
-
PostgreSQL payload type: "json", "jsonb", or "bytea"
- namespace
-
the namespace (used as table prefix)
- notificationType
-
PostgreSQL payload type for notifications
- snapshotType
-
PostgreSQL payload type for snapshots
Attributes
- Source
- JPGSchema.scala
Generate DDL for event sourcing tables with default jsonb payload types.
Generate DDL for event sourcing tables with default jsonb payload types.
Attributes
- Source
- JPGSchema.scala
Generate DDL using schema naming strategy (creates a PostgreSQL schema).
Generate DDL using schema naming strategy (creates a PostgreSQL schema).
Attributes
- Source
- JPGSchema.scala