Skip to main content

Data model

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

  • auth.users
  • auth.refresh_tokens
  • auth.otp_challenges
  • auth.event_outbox
  • auth.user_payment_profiles
  • auth.trial_registrations
  • auth.account_deletion_requests
  • auth.admin_users
  • auth.admin_refresh_tokens
  • auth.admin_audit_logs
  • auth.blocked_entities
  • auth.quick_login_tokens

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.