

CREATE TABLE sphinx_chat_members (
  id INT,
  chat_id INT,
  contact_id INT,
  role INT,
  total_spent INT,
  total_messages INT,
  last_active DATETIME,
  status INT,
  created_at DATETIME,
  updated_at DATETIME
);