Skip to content

Commit

Permalink
fix: 텍스트 기본값 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong committed Oct 29, 2023
1 parent efa04b3 commit 4338e5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/db/migration/V1__init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ CREATE TABLE cafe
cafe_id CHAR(26) NOT NULL,
franchise_id CHAR(26) DEFAULT NULL,
cafe_name VARCHAR(128) NOT NULL,
description TEXT NOT NULL DEFAULT '',
description TEXT NOT NULL,
address VARCHAR(255),
web_url VARCHAR(255),
phone_number VARCHAR(36),
Expand All @@ -64,7 +64,7 @@ CREATE TABLE cafe_room
timeout INT NOT NULL,
recommend_user INT NOT NULL,
room_img_url VARCHAR(128),
description TEXT NOT NULL DEFAULT '',
description TEXT NOT NULL,
PRIMARY KEY (room_id),
FOREIGN KEY cafe_room_fk1 (cafe_id) REFERENCES cafe (cafe_id) ON DELETE CASCADE
) DEFAULT CHARSET = utf8mb4
Expand Down

0 comments on commit 4338e5c

Please sign in to comment.