23 lines
1.0 KiB
Plaintext
23 lines
1.0 KiB
Plaintext
TOKEN sequin_cdc APPEND
|
|
|
|
DESCRIPTION >
|
|
customer_prices CDC events from Sequin (Postgres → Tinybird via WAL).
|
|
action = insert | update | delete | read (read = initial backfill row).
|
|
|
|
SCHEMA >
|
|
`id` String `json:$.id`,
|
|
`created_at` Int64 `json:$.created_at`,
|
|
`price_id` Nullable(String) `json:$.price_id`,
|
|
`options` String `json:$.options`,
|
|
`internal_customer_id` Nullable(String) `json:$.internal_customer_id`,
|
|
`customer_product_id` Nullable(String) `json:$.customer_product_id`,
|
|
`__action` String `json:$.__action`,
|
|
`__commit_timestamp` DateTime64(6) `json:$.__commit_timestamp`,
|
|
`__commit_lsn` Int64 `json:$.__commit_lsn`,
|
|
`__idempotency_key` String `json:$.__idempotency_key`
|
|
|
|
ENGINE "ReplacingMergeTree"
|
|
ENGINE_VER "__commit_lsn"
|
|
ENGINE_SORTING_KEY "id"
|
|
ENGINE_PRIMARY_KEY "id"
|