瀏覽代碼

set default history to 90 days

Pi 4 月之前
父節點
當前提交
ec07f3b22e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sqlpage/sqlpage/internal/entry.sql

+ 1 - 1
sqlpage/sqlpage/internal/entry.sql

@@ -24,7 +24,7 @@ SET unit_mass = (CASE
 END);
 SET start = (CASE
   WHEN $start = '' OR $start IS NULL
-  THEN to_char(now()-'30 days'::interval, 'YYYY-MM-DD')
+  THEN to_char(now()-'90 days'::interval, 'YYYY-MM-DD')
   ELSE $start
 END);
 SET end = CASE