Skip to main content

Data model

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

  • notification.notifications
  • notification.notification_preferences
  • notification.device_tokens
  • notification.user_locale
  • notification.inbox_messages
  • notification.inbox_state

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.