create table advisory_notice
(
    id           serial
        constraint advisory_notice_pk
            primary key,
    title        varchar(300) not null,
    publish_time timestamp without TIME ZONE,
    state        integer                     not null,
    content      text                   not null,
    attachments  text[]

);

comment on column advisory_notice.title is '公告标题';

comment on column advisory_notice.publish_time is '发布时间';

comment on column advisory_notice.state is '/*1.草稿，2.已发布，3.已下架*/';