Skip to content

Commit

Permalink
fix : flyway 언더바 추가 (#717)
Browse files Browse the repository at this point in the history
* feat: 식단 좋아요, 좋아요 취소 기능 구현

* feat: 식단 좋아요 기능 테스트 추가

* feat: flyway 언더바 추가
  • Loading branch information
dradnats1012 authored Jul 20, 2024
1 parent 45dddb5 commit 046caa6
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CREATE TABLE IF NOT EXISTS dining_likes (
id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
dining_id INT NOT NULL,
user_id INT NOT NULL
);

ALTER TABLE `dining_menus` ADD COLUMN `likes` INT DEFAULT 0;

0 comments on commit 046caa6

Please sign in to comment.