From c88104169bc4fe457f98f33a91574c4dd33da573 Mon Sep 17 00:00:00 2001
From: jhjang <jhjang@maprex.co.kr>
Date: 금, 03 12월 2021 20:08:01 +0900
Subject: [PATCH] - api 입력 오류 수정 - api 기본값 및 중복 설정 적용 수정

---
 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