Skip to content

Commit

Permalink
chore: H2 실행시 Flyway 비활성화
Browse files Browse the repository at this point in the history
  • Loading branch information
xGreenNarae committed Oct 15, 2023
1 parent c1c7499 commit 5b392bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions animory/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ spring:
hibernate.ddl-auto: create
properties:
hibernate.format_sql: true
flyway.enabled: false # H2 Error

# File Upload
servlet:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
-- PetPolygonProfile을 Embedded 타입으로 변경하고 Pet Entity에서 편리하게 관리하기 위한 수정
-- PetPolygonProfile을 Embedded 타입으로 변경하고 Pet Entity에서 편리하게 관리하기 위함.


-- PET 테이블에 Embedded 타입으로 추가
ALTER TABLE pet
ADD COLUMN activeness INT NOT NULL,
ADD COLUMN activeness INT NOT NULL,
ADD COLUMN adaptability INT NOT NULL,
ADD COLUMN affinity INT NOT NULL,
ADD COLUMN athletic INT NOT NULL,
ADD COLUMN affinity INT NOT NULL,
ADD COLUMN athletic INT NOT NULL,
ADD COLUMN intelligence INT NOT NULL;

-- PET POLYGON PROFILE 테이블 제거
Expand Down

0 comments on commit 5b392bf

Please sign in to comment.