Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

547 B
Raw Blame
TOKEN "dub_tinybird_token" APPEND

DESCRIPTION >
    DEPRECATED: We're using dub_api_logs now. This is kept for posterity

SCHEMA >
    `timestamp` DateTime64(3) `json:$.timestamp` DEFAULT now(),
    `workspace_id` String `json:$.workspace_id`,
    `link_id` String `json:$.link_id`,
    `path` String `json:$.path`,
    `body` String `json:$.body`,
    `error` String `json:$.error`

ENGINE "MergeTree"
ENGINE_PARTITION_KEY "toYYYYMM(timestamp)"
ENGINE_SORTING_KEY "timestamp, workspace_id"
ENGINE_TTL "toDateTime(timestamp) + toIntervalDay(90)"