소스 검색

sql更新

jingyuanchao 1 년 전
부모
커밋
459a8db021
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      project_data/sql/0.0.8/soc/soc.sql

+ 5 - 3
project_data/sql/0.0.8/soc/soc.sql

@@ -77,7 +77,8 @@ create table if not exists core_reminder_template(
 )
     comment '短信提醒内容模板表';
 
-create table if not exists core_compensate_log
+drop table  if exists core_compensate_log;
+create table core_compensate_log
 (
     id            int auto_increment
         primary key,
@@ -87,8 +88,9 @@ create table if not exists core_compensate_log
     org_id        bigint       null comment '机构id',
     org_name      varchar(125) null comment '机构名称',
     org_path      varchar(225) null comment '机构路径',
-    time          int          null,
-    res           tinyint      null comment '执行结果'
+    time          datetime     null,
+    res           tinyint      null comment '执行结果',
+    error_msg     varchar(225) null comment '错误消息'
 )
     comment '业务数据补偿记录表';