Skip to content

v1.0.2

Choose a tag to compare

@amtiYo amtiYo released this 01 Jul 19:18
· 9 commits to main since this release

Changed

  • Shared core database. Branchy's data now lives in the shared
    core-postgres under a branchy schema, and identity/presence (Telegram
    users and chats) are delegated to the central core hub (core.person /
    core.chat), keyed on the global Telegram id. Domain tables reference
    core.person(telegram_user_id) directly; the local telegram_users and
    telegram_chats tables are dropped. Chat-specific state (bot status, active,
    added-by) moves to a small chat_state table that FKs into core.chat.
    Identity/presence is upserted via the shared core.touch before any dependent
    insert. The bot connects to core-postgres with search_path=branchy; its
    dedicated branchy-postgres is retired.