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

스팟 업데이트 파일 이미지 순서가 바뀌지 않는 문제 #622

Open
ShineCorine opened this issue Mar 23, 2024 · 0 comments
Open

Comments

@ShineCorine
Copy link
Collaborator

📝Description

현재의 테이블 구조상, 스팟 이미지의 이미지 정보를 담은 attachfile에 순서를 나타내는 필드가 존재하지 않기 때문인 것으로 보입니다.
이를 해결하기 위해AttachFile과 spot의 정보를 담은 중간 테이블을 생성해서 순서 필드를 추가하거나 attachfile에 순서를 담은 컬럼을 만들거나 해야 할 것 같습니다.

만약 전자를 선택하게 될 경우 attachFile에 travel_id를 담은 컬럼을 없애는 작업을 해야 하는게 아닌가 싶습니다.
(현재 이미지 프로파일, 맵 스태틱 이미지 파일 등은 이 필드가 널로 들어가고 있습니다)
이런저러한 과정에서 에러가 날 가능성이 있기 때문에 당분간은 스팟의 이미지 순서를 변경하는 기능은 후순위로 미루는게 어떨까 싶긴합니다.

✅Task

  • [ ]
  • [ ]

✍️Additional

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant