From 67cd940347bfe38ef6aab075a2dbd738bec41ed3 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期六, 03 十月 2026 14:43:44 +0800
Subject: [PATCH] feat(holiday): support 2019 and previous-day data in new templates

---
 deploy-templates/db/sql_holiday.sql |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/deploy-templates/db/sql_holiday.sql b/deploy-templates/db/sql_holiday.sql
index ca39066..a2b6b59 100644
--- a/deploy-templates/db/sql_holiday.sql
+++ b/deploy-templates/db/sql_holiday.sql
@@ -4,6 +4,7 @@
   year INT NOT NULL,
   holiday_type VARCHAR(32) NOT NULL,
   holiday_date DATE NOT NULL,
+  -- 0 is the configured previous day; normal holiday days are 1..N.
   day_index INT NOT NULL,
   created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
   updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,

--
Gitblit v1.9.1