From 5fec5801b937a2270920787891e39a8504cdf53f Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 금, 03 12월 2021 15:00:44 +0900 Subject: [PATCH] 사용자 정의 필드 사용중일때 삭제 불가하게 수정 --- src/main/resources/migration/V1_10__Alter_Table.sql | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/migration/V1_10__Alter_Table.sql b/src/main/resources/migration/V1_10__Alter_Table.sql index 91f187d..9cca17d 100644 --- a/src/main/resources/migration/V1_10__Alter_Table.sql +++ b/src/main/resources/migration/V1_10__Alter_Table.sql @@ -3,7 +3,7 @@ CREATE TABLE `department`( `id` BIGINT(11) AUTO_INCREMENT, - `department_name` VARCHAR(50) NULL, + `department_name` VARCHAR(50) NOT NULL, `department_description` VARCHAR(255) NULL, `register_id` BIGINT(20) NOT NULL, `register_date` TIMESTAMP NULL, -- Gitblit v1.8.0