-- ======================
-- GENAI: Model
-- ======================
CREATE TABLE "unified_genai_model" (
  "unified_connection_id"  VARCHAR NOT NULL,
  "unified_webhook_id"     VARCHAR NOT NULL,
  "unified_external_xref"  VARCHAR,
  "unified_integration_type" VARCHAR NOT NULL,
  "unified_raw_id"         VARCHAR,
  "unified_id"             VARCHAR NOT NULL,
  "id"                     VARCHAR,
  "name"                   VARCHAR,
  "description"            VARCHAR,
  "max_tokens"             FLOAT,
  "web_url"                VARCHAR,
  "has_temperature"        BOOLEAN,
  "raw"                    VARIANT,
  UNIQUE ("unified_connection_id", "unified_id")
);
