create table operation_log
(
    id            bigint generated by default as identity
        constraint operation_log_pk
            primary key,
    module_type   varchar not null,
    function_type varchar not null,
    content       varchar,
    make_time     timestamp
);

comment
on column operation_log.id is '主键';

comment
on column operation_log.module_type is '模块类型';

comment
on column operation_log.function_type is '操作类型';

comment
on column operation_log.content is '操作内容';

comment
on column operation_log.make_time is '操作时间';

alter table operation_log
    owner to gitea;

