-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[#66] Flyway v1.1 버전 생성
- Loading branch information
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/main/resources/db/migration/V1.1_Alter_place_and_bookmark.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- place 테이블에서 recommend_count 컬럼의 이름을 review_count로 변경 | ||
ALTER TABLE `place` | ||
CHANGE COLUMN `recommend_count` `review_count` INT NOT NULL; | ||
|
||
-- bookmark 테이블에서 status 컬럼 삭제 | ||
ALTER TABLE `bookmark` | ||
DROP COLUMN `status`; |