-- ======================
-- METADATA: Metadata
-- ======================
CREATE TABLE "unified_metadata_metadata" (
  "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,
  "created_at"             TIMESTAMP_NTZ,
  "updated_at"             TIMESTAMP_NTZ,
  "name"                   VARCHAR,
  "slug"                   VARCHAR,
  "format"                 VARCHAR,
  "original_format"        VARCHAR,
  "options"                VARIANT,
  "object_type"            VARCHAR,
  "objects"                VARIANT,
  "is_required"            BOOLEAN,
  "raw"                    VARIANT,
  UNIQUE ("unified_connection_id", "unified_id")
);
