Commit Graph

6 Commits

Author SHA1 Message Date
ec6ac35ac7 refactor: 모델에 JSON 태그 추가 및 gorm.Model 인라인 확장
All checks were successful
Server CI/CD / deploy (push) Successful in 35s
camelCase JSON 필드명으로 통일, PasswordHash json:"-" 처리

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 14:32:11 +09:00
05d6d5af4d chore: seed 스크립트 제거
All checks were successful
Server CI/CD / deploy (push) Successful in 36s
환경변수 기반 admin 자동 생성으로 대체

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 14:29:29 +09:00
633175f5be feat: 환경변수로 초기 admin 계정 자동 생성
서버 시작 시 ADMIN_USERNAME, ADMIN_PASSWORD 환경변수 기반으로
admin 계정이 없을 경우 자동 생성 (이미 있으면 스킵)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 14:28:33 +09:00
bf17d4d1da fix: username 컬럼 타입을 varchar(100)으로 명시
All checks were successful
Server CI/CD / deploy (push) Successful in 38s
longtext 타입은 MySQL에서 uniqueIndex를 걸 수 없어
AutoMigrate 실패 및 announcements 테이블 미생성 문제 해결

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 14:24:37 +09:00
2cac2dcfb3 ci: Gitea Actions 배포 파이프라인 및 Dockerfile 추가
All checks were successful
Server CI/CD / deploy (push) Successful in 50s
- 멀티 스테이지 Dockerfile 추가 (Go 빌드 + Alpine 실행)
- Gitea Actions SSH 배포 워크플로우 추가
- CORS를 https://a301.tolelom.xyz 로 제한

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 14:08:47 +09:00
3345549051 Chore: project init 2026-02-24 13:18:43 +09:00