Add Column

Cancel

Current Schema

CREATE TABLE human_notification_stats  (
  id INTEGER PRIMARY KEY AUTOINCREMENT,
  chatbot_id INTEGER NOT NULL,
  user_id INTEGER NOT NULL,
  notification_id INTEGER NOT NULL,
  notification_method TEXT NOT NULL,
  created_at TEXT NOT NULL,
  FOREIGN KEY (chatbot_id) REFERENCES chatbots(id) ON DELETE CASCADE,
  FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE,
  FOREIGN KEY (notification_id) REFERENCES notifications(id) ON DELETE CASCADE
)