Skip to content

Commit

Permalink
flyway: 오타 및 세미콜론 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimprodp committed Feb 13, 2025
1 parent 246b41a commit 66365be
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
-- 이전에 review 테이블 변경 사항 중 new_review가 아닌 review에 적용된 사항을 다시 반영합니다.
ALTER TABLE new_review ADD COLUMN member_id BIGINT NULL;

-- 기존 review 테이블을 삭제하고, ew_review 테이블의 이름을 "review"로 변경합니다.
-- 기존 review 테이블을 삭제하고, new_review 테이블의 이름을 "review"로 변경합니다.
-- 운영 환경에서의 오류 발생 시, 작업 롤백을 위해 트랜잭션 실행합니다.
BEGIN
BEGIN;
DROP TABLE IF EXISTS review;
ALTER TABLE new_review RENAME TO review;
COMMIT
COMMIT;

0 comments on commit 66365be

Please sign in to comment.