Skip to main content

Data model

Schema public JDBC plus polled schemas auth, social, feed, messaging, expense is created at database init and migrated only by this service's Flyway scripts in src/main/resources/db/migration.

  • No Flyway in this service (spring.flyway.enabled=false).
  • Reads {schema}.event_outbox for auth, social, feed (2 workers), messaging (3 workers), expense (1 worker).

Cross-service reads go through HTTP or through a local projection table filled by the inbox. Do not add a foreign key to another schema.