Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

일기를 사용할 수 있다. #6

Open
7 tasks
yujongyeop opened this issue Mar 22, 2025 · 1 comment
Open
7 tasks

일기를 사용할 수 있다. #6

yujongyeop opened this issue Mar 22, 2025 · 1 comment
Assignees
Labels
Milestone

Comments

@yujongyeop
Copy link
Owner

📝 기능 개요

일기 관련 기능을 구현한다.

✅ 작업 목록

해당 기능을 완료하기 위할 작업 목록을 작성해 주세요.

  • DB 테이블 설계
    • 일기 테이블 설계
  • CRUD
    • 일기 추가
    • 일기 조회
    • 일기 수정
    • 일기 삭제

💬 추가 사항

추가로 적을 사항이 있으면 작성해 주세요.

@yujongyeop yujongyeop self-assigned this Mar 22, 2025
@yujongyeop yujongyeop added this to the 일기 milestone Mar 22, 2025
@yujongyeop
Copy link
Owner Author

일기 테이블 설계
1차 구현 이후에 2차 구현에서 해당 테이블을 확장할 예정이다.
현재는 고유ID, 사용자 ID, 제목, 내용, 생성일, 수정일로 테이블을 구성한다.

yujongyeop added a commit that referenced this issue Mar 22, 2025
## 개요
일기 엔티티를 추가하였습니다.
이때 사용자 엔티티를 통해 일기를 조회할 수 있게 OneToMany 어노테이션을 추가했습니다.
또한, 기존 사용자의 PK명이 모호하였던 부분을 수정할 필요성을 느껴 수정했습니다.

### 내용
- 일기 엔티티 추가
- TempUser 엔티티 id 필드의 컬럼명 변경 및 생성 방식 변경(AUTO -> IDENTITY)
- TempUser 엔티티에 diaries 필드 추가
yujongyeop added a commit that referenced this issue Mar 25, 2025
## 개요
일기 엔티티를 추가하였습니다.
이때 사용자 엔티티를 통해 일기를 조회할 수 있게 OneToMany 어노테이션을 추가했습니다.
또한, 기존 사용자의 PK명이 모호하였던 부분을 수정할 필요성을 느껴 수정했습니다.

### 내용
- 일기 엔티티 추가
- TempUser 엔티티 id 필드의 컬럼명 변경 및 생성 방식 변경(AUTO -> IDENTITY)
- TempUser 엔티티에 diaries 필드 추가
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant