+/- table definition

Query

CREATE TABLE reporting_templates  (
  id VARCHAR(50) NOT NULL,
  scope VARCHAR(16) NOT NULL,
  tenant_id VARCHAR(50) NOT NULL,
  project_id VARCHAR(50) NOT NULL,
  inherits_from VARCHAR(50),
  name VARCHAR(255) NOT NULL,
  description TEXT NOT NULL,
  mode VARCHAR(16) NOT NULL,
  output_format VARCHAR(16) NOT NULL,
  styling JSON NOT NULL,
  source_document_id VARCHAR(50) NOT NULL,
  ontology_id VARCHAR(64) NOT NULL,
  enabled BOOLEAN NOT NULL,
  created_by VARCHAR(50) NOT NULL,
  created_at DATETIME NOT NULL,
  updated_at DATETIME NOT NULL,
  deleted BOOLEAN NOT NULL,
  PRIMARY KEY (id)
)
Use Shift + Up/Down to navigate recently-executed queries