Skip to content

Commit

Permalink
Revert "chore(#3): weekly_price->weekly_discount_price 컬럼 이름 변경"
Browse files Browse the repository at this point in the history
This reverts commit 3aebddd.
  • Loading branch information
memoer committed Jun 17, 2022
1 parent 080c7a3 commit a6394b5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/resources/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -222,16 +222,16 @@ CREATE TABLE IF NOT EXISTS `airbnb`.`room_photo`

CREATE TABLE IF NOT EXISTS `airbnb`.`room_price`
(
`id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
`id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
-- 1,2,3,4,5,6,7,8,9,10,11,12 월
`month` INT UNSIGNED NOT NULL,
`month` INT UNSIGNED NOT NULL,
-- 월별 기본 가격
`price` INT UNSIGNED NOT NULL,
`price` INT UNSIGNED NOT NULL,
-- 월별 주간 할인 가격
`weekly_discount_price` INT UNSIGNED NOT NULL,
`currency` VARCHAR(20) NOT NULL,
`weekly_price` INT UNSIGNED NOT NULL,
`currency` VARCHAR(20) NOT NULL,

`room_id` BIGINT UNSIGNED NOT NULL,
`room_id` BIGINT UNSIGNED NOT NULL,

PRIMARY KEY (`id`),
key `room_id-idx` (`room_id`)
Expand Down

0 comments on commit a6394b5

Please sign in to comment.