From b7dfb19b01f66a450126debb0590d20f2f71f2cc Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 수, 24 11월 2021 14:34:45 +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