feat(site): increase TTL and max TTL validation to 30 days (#8258)

Co-authored-by: Dean Sheather <dean@deansheather.com>
This commit is contained in:
Josh Vawdrey
2023-07-19 23:43:10 +10:00
committed by GitHub
parent 4232a2eb96
commit 6318c4c09f
10 changed files with 47 additions and 23 deletions

View File

@ -1,2 +1,5 @@
-- Set a cap of 7 days on template max_ttl
--
-- NOTE: this migration was added in August 2022, but the cap has been changed
-- to 30 days in July 2023.
UPDATE templates SET max_ttl = 604800000000000 WHERE max_ttl > 604800000000000;