create table tb_bbs_post_answer
(
    ANSWER_ID   varchar(20) not null comment '답변 ID'
        primary key,
    POST_ID     varchar(20) not null comment '게시물 ID',
    CONTENT     text        not null comment '답변 내용',
    ANSWER_DTTM datetime    null comment '답변 일시',
    REG_DTTM    datetime    null comment '등록 일시',
    RGTR        varchar(20) null comment '등록자',
    MDFCN_DTTM  datetime    null comment '수정 일시',
    MDFR        varchar(20) null comment '수정자',
    WRITER_NM   varchar(50) not null comment '작성자 명',
    constraint uk_bbs_post_answer_post_id
        unique (POST_ID),
    constraint fk_bbs_post_answer_post
        foreign key (POST_ID) references tb_bbs_post (POST_ID)
)
    comment '게시물 답변';

