This commit is contained in:
admin
2026-02-21 10:51:25 +09:00
parent 584530937b
commit 3b028b8fc0
25 changed files with 1852 additions and 244 deletions

View File

@@ -0,0 +1,16 @@
-- 会計年度ロックテーブルの作成
CREATE TABLE IF NOT EXISTS fiscal_year_locks (
fiscal_year INTEGER PRIMARY KEY,
is_locked BOOLEAN DEFAULT false,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- デフォルト行を挿入2024年2026年
DELETE FROM fiscal_year_locks;
INSERT INTO fiscal_year_locks (fiscal_year, is_locked) VALUES
(2024, false),
(2025, false),
(2026, false);
COMMIT;