+/- table definition

Query

CREATE TABLE ping_request_messages  (
  request_id TEXT NOT NULL,
  chat_id INTEGER NOT NULL,
  message_id INTEGER NOT NULL,
  PRIMARY KEY (request_id, chat_id),
  FOREIGN KEY (request_id) REFERENCES ping_requests(id) ON DELETE CASCADE
)
Use Shift + Up/Down to navigate recently-executed queries