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

feat: 음식점 사진 추가 api 구현 #558

Closed

Conversation

odo27
Copy link
Collaborator

@odo27 odo27 commented Oct 5, 2023

✨ 요약

  • 음식점 사진 추가 API 구현
  • 사용자가 사진 추가 제안하는 API 구현
CREATE TABLE `restaurant_image_suggestion`
(
    `id`            bigint       NOT NULL AUTO_INCREMENT,
    `restaurant_id` bigint            DEFAULT NULL,
    `member_id`     bigint            DEFAULT NULL,
    `image_name` varchar(255) NOT NULL,
    `created_date`  timestamp(6) NULL DEFAULT NULL,
    PRIMARY KEY (`id`),
    KEY `fk_restaurant_image_suggestion_restaurant_id_from_restaurant_id` (`restaurant_id`),
    KEY `fk_restaurant_image_suggestion_member_id_from_oauth_member_id` (`member_id`),
    CONSTRAINT `fk_restaurant_image_suggestion_member_id_from_oauth_member_id` FOREIGN KEY (`member_id`) REFERENCES `oauth_member` (`id`),
    CONSTRAINT `fk_restaurant_image_suggestion_restaurant_id_from_restaurant_id` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurant` (`id`)
) ENGINE = InnoDB
  AUTO_INCREMENT = 10
  DEFAULT CHARSET = utf8mb4
  COLLATE = utf8mb4_0900_ai_ci;



😎 해결한 이슈



@odo27 odo27 added 🌱 backend ✨ 백엔드 ✨ feat 새로운 기능 🚨warning 🚨 경고: 함부로 merge 하지 마시요 labels Oct 5, 2023
@odo27 odo27 self-assigned this Oct 5, 2023
@github-actions
Copy link

github-actions bot commented Oct 5, 2023

Test Results

181 tests  +19   176 ✔️ +19   12s ⏱️ +2s
  64 suites +  5       5 💤 ±  0 
  64 files   +  5       0 ±  0 

Results for commit ac812c9. ± Comparison against base commit bf2fa21.

♻️ This comment has been updated with latest results.

Copy link
Member

@shin-mallang shin-mallang left a comment

Choose a reason for hiding this comment

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

고생했어 오도~!

@shin-mallang
Copy link
Member

아 그리고 근본적으로, 이미지 제안이랑 저장을 따르게 보지 말고,
제안에 accept 기능을 넣어서 관리자가 제안을 수정하거나 거절할 수 있도록 하는건 어때?

@odo27 odo27 force-pushed the 530-feat-음식점-사진-추가-api-구현 branch from 429d146 to 3a5e6b4 Compare October 5, 2023 11:55
Copy link
Member

@TaeyeonRoyce TaeyeonRoyce left a comment

Choose a reason for hiding this comment

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

오도 고생했어!
이미지 로직 쉽지않던데 잘 작성한듯!!

Copy link
Collaborator

@kdkdhoho kdkdhoho left a comment

Choose a reason for hiding this comment

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

어려운 API 잘 구현했네 오도 수고했어 ~~ 👍

@odo27 odo27 force-pushed the 530-feat-음식점-사진-추가-api-구현 branch from 3a5e6b4 to ac812c9 Compare October 11, 2023 07:24
@TaeyeonRoyce TaeyeonRoyce deleted the branch develop-backend October 24, 2023 04:20
@TaeyeonRoyce TaeyeonRoyce deleted the 530-feat-음식점-사진-추가-api-구현 branch October 24, 2023 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 backend ✨ 백엔드 ✨ feat 새로운 기능 🚨warning 🚨 경고: 함부로 merge 하지 마시요
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants