Skip to main content

Data model

Schema expense is created at database init and migrated only by this service's Flyway scripts in src/main/resources/db/migration.

  • expense.expenses
  • expense.expense_splits
  • expense.expense_reminder_logs
  • expense.payment_evidence_submissions
  • expense.bulk_settlements
  • expense.bulk_settlement_splits
  • expense.deleted_users
  • expense.event_outbox

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.