feat(bx): add occur_date column on reimburse detail

Store optional expense occurrence date (DATE, nullable) for each
reimburse line item.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-08-17 15:53:53 +08:00
1 parent f73fb572d1
commit 0b402b18ed
3 files changed
+8

No files matched your search

@@ -0,0 +1,6 @@
-- backend/scripts/migrate_20260817_bx_reimburse_detail_occur_date.sql
-- 报销明细增加可选发生日期 occur_date
ALTER TABLE `bx_reimburse_detail`
ADD COLUMN `occur_date` date DEFAULT NULL COMMENT '费用发生日期'
AFTER `amount`;