Skip to content

Commit

Permalink
chore(#3): room_price 컬럼 weekly_price -> weekly_discount_price
Browse files Browse the repository at this point in the history
  • Loading branch information
memoer committed Jun 16, 2022
1 parent 7b6b38e commit b358059
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 @@ -217,13 +217,13 @@ CREATE TABLE IF NOT EXISTS `airbnb`.`room_photo`

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

Please sign in to comment.