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

[refactor] #192 - 공연소개 & 유의사항 최대 글자수 500자로 구현 #193

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

hoonyworld
Copy link
Member

Related issue 🛠

Work Description ✏️

  • 공연소개 & 유의사항 최대 글자수를 @column 어노테이션의 length 옵션으로 500자로 변경하겼습니다.

Trouble Shooting ⚽️

Related ScreenShot 📷

@column(length=500)

image

  • length 옵션으로 500자로 설정하고, Datagrip의 SQL Generator를 확인했을 때 VARCHAR(500)으로 변경된 점을 확인했습니다.

500자로 공연 생성

image

  • 공연 소개 & 유의사항의 글자수를 500자로 설정하고 요청을 보냈을 때 공연이 성공적으로 생성됨을 확인했습니다.

500자 초과 에러처리

image

  • 공연 소개 글자수가 500자 초과시 에러처리가 됨을 확인했습니다.

image

  • 공연 유의사항 글자수가 500자 초과시 에러처리가 됨음 확인했습니다,.

image

  • 둘 다 글자수 500자 초과시 공연 소개 글자수 에러를 먼저 잡기에 공연 소개 글자수 에러처리가 먼저 잡아짐을 확인했습니다.

Uncompleted Tasks 😅

To Reviewers 📢

  • dev는 ddl-auto 옵션이 update라 자동으로 VARCHAR(500)이 반영이 되지만, prod는 ddl-auto 옵션이 none이기에 수동으로 VARCHAR(500)으로 업데이트를 해줘야 할 것 같습니다.
  • DB 변동사항에 해당사항 명시에 놓겠습니다!!

@hoonyworld hoonyworld self-assigned this Aug 29, 2024
@hoonyworld hoonyworld linked an issue Aug 29, 2024 that may be closed by this pull request
1 task
@hoonyworld hoonyworld changed the title [refactor] #192 - 공연소개 & 유의사항 최대 글자수 500자로 변경 완료 [refactor] #192 - 공연소개 & 유의사항 최대 글자수 500자로 구현 Aug 29, 2024
Copy link
Collaborator

@hyerinhwang-sailin hyerinhwang-sailin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

500자 관련 에러 반환 테스트까지 좋습니다!

@hoonyworld hoonyworld merged commit 0bb1410 into develop Aug 29, 2024
1 check passed
@hoonyworld hoonyworld deleted the refactor/#192 branch August 31, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[refactor] 공연 소개 & 유의사항 글자수 500자로 늘리기
2 participants