Skip to content

Conversation

@Losecow
Copy link
Contributor

@Losecow Losecow commented Jan 16, 2026

개요

ERD를 기준으로 DB 모델을 정리하고,
Alembic을 사용해 initial migration을 생성하여
이후 모든 기능 개발의 DB 스키마 기준점을 확정

본 PR은 후속 개발에 앞서 DB 구조를 확정하기 위한 작업입니다.

관련 이슈

작업 내용

  • ERD 기준으로 models.py 정리
  • Alembic initial migration 생성
  • 기존에 비어 있던 legacy initial migration 제거
  • .gitignore 에 .env 와 로컬 환경용 설정 docker-compose.yml 추가

테스트 결과

  • Alembic upgrade head 정상 동작 확인
  • 모든 테이블 및 enum 생성 정상 확인
  • 기존 migration 충돌 없음

기타

  • 본 PR은 DB 스키마의 기준점 역할을 합니다
  • 이후 기능 브랜치는 본 스키마를 기준으로 작업하면 됩니다

…postgresql-with-orm

5 feat sync postgresql with orm
@Losecow Losecow self-assigned this Jan 16, 2026
@Losecow Losecow requested review from a team, 248Kobe, Jangmyun, SeoGyeongmi, YoungRheeCho and haeyun1 and removed request for a team January 16, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat]: ERD 기반 DB 모델 정리 및 Alembic initial migration 적용

3 participants