Skip to content

Commit c14aadd

Browse files
committed
add migration to enforce template max_ttl 7-day cap
1 parent e488e13 commit c14aadd

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- this is a no-op
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- Set a cap of 7 days on template max_ttl
2+
UPDATE templates SET max_ttl = 604800000000000 WHERE max_ttl > 604800000000000;

0 commit comments

Comments
 (0)