feat: admin settings (accounts, system, notification, audit)

This commit is contained in:
pray4skylark
2026-06-02 16:51:51 +09:00
parent f5899aec46
commit 016b7475f7
10 changed files with 1594 additions and 13 deletions
@@ -0,0 +1,21 @@
CREATE TABLE tb_system_config (
config_id BIGSERIAL PRIMARY KEY,
config_key VARCHAR(100) NOT NULL UNIQUE,
config_value TEXT,
description VARCHAR(255),
created_at TIMESTAMP,
updated_at TIMESTAMP
);
INSERT INTO tb_system_config (config_key, config_value, description) VALUES
('sla_check_interval', '3600000', 'SLA 체크 간격 (ms)'),
('sla_excluded_statuses', 'RESOLVED,CLOSED', 'SLA 제외 티켓 상태'),
('parking_enabled', 'false', 'Parking 모드 활성화 여부'),
('parking_weekday_start', '20:00', 'Parking 시작 시간'),
('parking_weekday_end', '08:00', 'Parking 종료 시간'),
('parking_weekends', 'true', '주말 Parking 적용'),
('jwt_access_expiration', '3600000', 'Access Token 만료 시간 (ms)'),
('jwt_refresh_expiration', '604800000', 'Refresh Token 만료 시간 (ms)'),
('notification_slack_enabled', 'false', 'Slack 알림 활성화'),
('notification_email_enabled', 'false', 'Email 알림 활성화'),
('file_upload_max_size', '10485760', '파일 업로드 최대 크기 (bytes)');