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, create_id bigint, dept_id bigint ); 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 '操作时间'; comment on column operation_log.create_id is '创建人ID'; comment on column operation_log.dept_id is '所属部门'; alter table operation_log owner to gitea;