Skip to content

Commit fda7429

Browse files
committed
update
1 parent 25ea186 commit fda7429

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tinybird/datasources/stripe.datasource

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ SCHEMA >
88
`id` String `json:$.id`,
99
`object` LowCardinality(String) `json:$.object`,
1010
`api_version` LowCardinality(String) `json:$.api_version` DEFAULT '',
11-
`created` DateTime `json:$.created`,
11+
`date` DateTime `json:$.created`,
1212
`type` LowCardinality(String) `json:$.type`,
1313
`livemode` Bool `json:$.livemode`,
1414
`data` JSON `json:$.data` DEFAULT '{}',
1515
`request` JSON `json:$.request` DEFAULT '{}',
1616
`account` String `json:$.account` DEFAULT ''
1717

1818
ENGINE "MergeTree"
19-
ENGINE_PARTITION_KEY "toYYYYMM(created)"
20-
ENGINE_SORTING_KEY "type, created"
19+
ENGINE_PARTITION_KEY "toYYYYMM(date)"
20+
ENGINE_SORTING_KEY "type, date"

0 commit comments

Comments
 (0)