From 5f695a6891d31a502d61e91fd12acc79c292f734 Mon Sep 17 00:00:00 2001
From: jhjang <jhjang@maprex.co.kr>
Date: 목, 25 11월 2021 10:37:25 +0900
Subject: [PATCH] - 워크플로우 담당부서 테이블 생성

---
 src/main/resources/migration/V1_11__Alter_Table.sql |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/migration/V1_11__Alter_Table.sql b/src/main/resources/migration/V1_11__Alter_Table.sql
index c455bc7..bfb8428 100644
--- a/src/main/resources/migration/V1_11__Alter_Table.sql
+++ b/src/main/resources/migration/V1_11__Alter_Table.sql
@@ -190,3 +190,19 @@
 
 -- issue_risk �뀒�씠釉� 遺��꽌蹂�寃� 移댁슫�듃 而щ읆 異붽�
 ALTER TABLE `issue_risk` ADD COLUMN `change_department_count` BIGINT(20) NOT NULL DEFAULT '0';
+
+-- �썙�겕 �뵆濡쒖슦 �긽�깭 �떞�떦遺��꽌 吏��젙
+CREATE TABLE `workflow_department`(
+                                      `id` BIGINT(11) AUTO_INCREMENT,
+                                      `workflow_id` BIGINT(11),
+                                      `issue_status_id` BIGINT(11),
+                                      `department_id` BIGINT(11),
+                                      `register_id` BIGINT(20) NOT NULL,
+                                      `register_date` TIMESTAMP NULL,
+                                      `modify_id` BIGINT(20) NOT NULL,
+                                      `modify_date` TIMESTAMP NULL,
+                                      PRIMARY KEY (`id`) USING BTREE,
+                                      INDEX `workflowIdIndex` (`workflow_id`) USING BTREE,
+                                      INDEX `issueStatusIdIndex` (`issue_status_id`) USING BTREE,
+                                      INDEX `departmentIdIndex` (`department_id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
\ No newline at end of file

--
Gitblit v1.8.0