mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Removed TTL from tinybird analytics_events datasource (#21697)
ref https://linear.app/ghost/issue/ANAL-115/data-retention - The bad news here is I didn't notice that the tinybird web analytics starter kit included a TTL on the analytics_events datasource of 60 days - This means any data older than 60days was automatically dropped from the table - I updated this in the UI when I noticed it a few days ago, this makes sure it can't come back - The good news is that we don't have to implement anything to make this work when we do get to the point where we want a TTL!
This commit is contained in:
parent
d89c7d5f25
commit
2016e6a6df
1 changed files with 0 additions and 1 deletions
|
@ -13,4 +13,3 @@ SCHEMA >
|
|||
ENGINE MergeTree
|
||||
ENGINE_PARTITION_KEY toYYYYMM(timestamp)
|
||||
ENGINE_SORTING_KEY timestamp
|
||||
ENGINE_TTL timestamp + toIntervalDay(60)
|
||||
|
|
Loading…
Add table
Reference in a new issue