You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
clean-parking/DB-DDL/maria/ddl/xitframework/tb_notification.sql

20 lines
922 B
SQL

create table tb_notification
(
NOTIFICATION_ID varchar(20) not null comment '알림 ID'
primary key,
NOTIFICATION_TYPE_CD varchar(20) not null comment '알림 유형 (SCHEDULE: 일정, QUESTION: 질문, ANSWER: 답변)',
TARGET_ID varchar(36) not null comment '대상 ID (일정 ID, 게시물 ID 등) 배치때문에 길게 잡음',
TITLE varchar(200) not null comment '알림 제목',
CONTENT varchar(500) null comment '알림 내용',
URL varchar(500) null comment '이동 URL',
REG_DTTM datetime null comment '등록 일시',
RGTR varchar(20) null comment '등록자',
MDFCN_DTTM datetime null comment '수정 일시',
MDFR varchar(20) null comment '수정자'
)
comment '공통 알림';
create index idx_notification_target_id
on tb_notification (TARGET_ID);