You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
request_method enum ('DELETE','GET','PATCH','POST','PUT','UNKNOWN') not null,
7
+
status_code integernot null,
8
+
custom_status_code varchar(255) not null,
9
+
request_body TEXTnot null,
10
+
response_body TEXTnot null,
11
+
request_at datetime(6) not null,
12
+
log_status enum ('ASSIGNER_CHANGED','COMMENT_ADDED','COMMENT_UPDATED','LOGIN','REQUEST_APPROVED','REQUEST_CANCELLED','REQUEST_CREATED','REQUEST_UPDATED','STATUS_CHANGED','TASK_VIEWED') not null,
13
+
version bigint,
14
+
member_id bigint,
15
+
login_nickname varchar(255),
16
+
created_at datetime(6) not null,
17
+
updated_at datetime(6) not null,
18
+
primary key (log_id)
19
+
) engine=InnoDB;
20
+
21
+
createtableattachment (
22
+
attachment_id bigintnot null auto_increment,
23
+
original_name varchar(255) not null,
24
+
task_id bigint,
25
+
file_url varchar(255) not null,
26
+
file_size varchar(255) not null,
27
+
is_deleted bitnot null,
28
+
created_at datetime(6) not null,
29
+
updated_at datetime(6) not null,
30
+
primary key (attachment_id)
31
+
) engine=InnoDB;
32
+
33
+
createtablecategory (
34
+
category_id bigintnot null auto_increment,
35
+
admin_id bigintnot null,
36
+
code varchar(255) not null,
37
+
name varchar(255) not null,
38
+
main_category_id bigint,
39
+
is_deleted bitnot null,
40
+
description_example varchar(255),
41
+
created_at datetime(6) not null,
42
+
updated_at datetime(6) not null,
43
+
primary key (category_id)
44
+
) engine=InnoDB;
45
+
46
+
createtablecomment (
47
+
comment_id bigintnot null auto_increment,
48
+
member_id bigintnot null,
49
+
task_id bigintnot null,
50
+
content varchar(255),
51
+
original_name varchar(255),
52
+
file_size varchar(255),
53
+
file_url varchar(255),
54
+
is_modified bitnot null,
55
+
is_deleted bitnot null,
56
+
created_at datetime(6) not null,
57
+
updated_at datetime(6) not null,
58
+
primary key (comment_id)
59
+
) engine=InnoDB;
60
+
61
+
createtabledepartment (
62
+
department_id bigintnot null auto_increment,
63
+
admin_id bigint,
64
+
name varchar(255) not null,
65
+
status enum ('ACTIVE','INACTIVE') not null,
66
+
is_manager bitnot null,
67
+
created_at datetime(6) not null,
68
+
updated_at datetime(6) not null,
69
+
primary key (department_id)
70
+
) engine=InnoDB;
71
+
72
+
createtablelabel (
73
+
label_id bigintnot null auto_increment,
74
+
admin_id bigintnot null,
75
+
label_name varchar(255) not null,
76
+
label_color enum ('BLUE','GREEN','GREY','INDIGO','ORANGE','PURPLE','RED','YELLOW') not null,
77
+
is_deleted bitnot null,
78
+
created_at datetime(6) not null,
79
+
updated_at datetime(6) not null,
80
+
primary key (label_id)
81
+
) engine=InnoDB;
82
+
83
+
createtablemember (
84
+
member_id bigintnot null auto_increment,
85
+
name varchar(255) not null,
86
+
nickname varchar(255) not null,
87
+
password varchar(255),
88
+
image_url varchar(255),
89
+
email varchar(255) not null,
90
+
role enum ('ROLE_ADMIN','ROLE_MANAGER','ROLE_USER') not null,
91
+
status enum ('ACTIVE','APPROVAL_REQUEST','DELETED','INACTIVE','PENDING') not null,
92
+
is_reviewer bitnot null,
93
+
department_role varchar(255),
94
+
admin_id bigint,
95
+
department_id bigint,
96
+
created_at datetime(6) not null,
97
+
updated_at datetime(6) not null,
98
+
email_notification_enabled bit,
99
+
kakaowork_notification_enabled bit,
100
+
in_progress_task_count integer,
101
+
in_reviewing_task_count integer,
102
+
primary key (member_id)
103
+
) engine=InnoDB;
104
+
105
+
createtablenotification (
106
+
notification_id bigintnot null auto_increment,
107
+
is_read bitnot null,
108
+
message varchar(255),
109
+
task_title varchar(255) not null,
110
+
receiver_id bigintnot null,
111
+
task_id bigint,
112
+
type enum ('COMMENT','INVITATION','PROCESSOR_ASSIGNED','PROCESSOR_CHANGED','STATUS_SWITCHED','TASK_REQUESTED') not null,
113
+
created_at datetime(6) not null,
114
+
updated_at datetime(6) not null,
115
+
primary key (notification_id)
116
+
) engine=InnoDB;
117
+
118
+
createtabletask (
119
+
task_id bigintnot null auto_increment,
120
+
attachment_count integernot null,
121
+
description varchar(255),
122
+
task_code varchar(255) not null,
123
+
title varchar(255) not null,
124
+
category_id bigintnot null,
125
+
task_status enum ('COMPLETED','IN_PROGRESS','IN_REVIEWING','REQUESTED','TERMINATED') not null,
126
+
due_date datetime(6),
127
+
finished_at datetime(6),
128
+
label_id bigint,
129
+
processor_id bigint,
130
+
processor_order bigint,
131
+
requester_id bigintnot null,
132
+
reviewer_id bigint,
133
+
agit_post_id bigint,
134
+
is_deleted bitnot null,
135
+
created_at datetime(6) not null,
136
+
updated_at datetime(6) not null,
137
+
primary key (task_id)
138
+
) engine=InnoDB;
139
+
140
+
createtabletask_history (
141
+
task_history_id bigintnot null auto_increment,
142
+
is_deleted bitnot null,
143
+
comment_id bigint,
144
+
modified_member_id bigint,
145
+
task_id bigint,
146
+
modified_status varchar(255),
147
+
type enum ('COMMENT','COMMENT_FILE','PROCESSOR_ASSIGNED','PROCESSOR_CHANGED','STATUS_SWITCHED','TASK_TERMINATED') not null,
0 commit comments