Add TTL dynamically
Similar to the way we can define an index in firestore with firestore.indexes.json
. I'm proposing a firestore.ttl.json
where the TTL properties would be deployed upon firebase deploy
, instead of having to go in the console UI or alternative methods.
Those configuration files are useful when switching environment as this minimize the configuration required when going from dev, to staging, to prod. Centralizing those in one place makes it easier.
2
votes
Cedvdb
shared this idea