Skip to content

Commit

Permalink
Merge pull request #162 from kakao-tech-campus-2nd-step3/refactor/Pla…
Browse files Browse the repository at this point in the history
…cesResponse

[refactor]: 조회성능을 향상시키기 위하여 places에 인덱스를 추가했어요
  • Loading branch information
sanghee0820 authored Nov 13, 2024
2 parents 2590c5f + ad7d412 commit 0aeee6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/sql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ create table places
latitude text not null,
longitude text not null,
menu_img_url text null,
category enum ('CAFE', 'JAPANESE', 'KOREAN', 'NONE', 'RESTAURANT', 'WESTERN') not null
category enum ('CAFE', 'JAPANESE', 'KOREAN', 'NONE', 'RESTAURANT', 'WESTERN') not null,
index idx_long_lat (longitude(15), latitude(15))
);

create table places_menuboardphotourl_list
Expand Down

0 comments on commit 0aeee6b

Please sign in to comment.