convert to gitea

This commit is contained in:
2025-09-15 13:33:34 +09:00
commit 95882ac072
277 changed files with 46023 additions and 0 deletions

View File

@ -0,0 +1,19 @@
CREATE TABLE `log_add_group` (
`log_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '로그 ID (PK)',
`log_date` DATETIME NOT NULL DEFAULT current_timestamp() COMMENT '로그 기록 시각',
`admin_user_id` INT(11) DEFAULT NULL COMMENT '작업 관리자 ID (FK, auth_user.id)',
`actor_description` VARCHAR(100) DEFAULT NULL COMMENT '작업 주체 설명 (자동화 등)',
`group_id` BIGINT(20) NOT NULL COMMENT '추가된 그룹 ID',
`group_name` VARCHAR(100) NOT NULL COMMENT '추가된 그룹 이름',
`manager_user_id` BIGINT(20) DEFAULT NULL COMMENT '추가된 그룹 관리자 ID',
PRIMARY KEY (log_id)
)
ENGINE = INNODB,
AUTO_INCREMENT = 2,
CHARACTER SET utf8mb4,
COLLATE utf8mb4_general_ci,
COMMENT = '그룹(부서) 추가 활동 로그',
ROW_FORMAT = DYNAMIC;
ALTER TABLE `log_add_group`
ADD CONSTRAINT `chk_log_add_group_actor` CHECK (`admin_user_id` is not null or `actor_description` is not null);