moneo

Tables (4)

chat_messages

  • id — uuid — Primary key — NOT NULL
  • thread_id — uuid — NOT NULL
  • role — text — NOT NULL
  • content — text — NOT NULL
  • created_at — timestamp — NOT NULL

chat_threads

  • id — uuid — Primary key — NOT NULL
  • user_id — uuid — NOT NULL
  • title — text — NOT NULL
  • memory_summary — text
  • created_at — timestamp — NOT NULL
  • updated_at — timestamp — NOT NULL

user_data

  • user_id — uuid — Primary key — NOT NULL
  • data — jsonb — NOT NULL
  • updated_at — timestamp — NOT NULL

users

  • id — uuid — Primary key — NOT NULL
  • email — text — NOT NULL
  • user_metadata — jsonb