Browse Source

修改表约束

lijun 2 years ago
parent
commit
06278cc4cf
1 changed files with 5 additions and 5 deletions
  1. 5 5
      doc/sql/update/bt-2302-4月份需求.sql

+ 5 - 5
doc/sql/update/bt-2302-4月份需求.sql

@@ -4,11 +4,11 @@ create table bt_refund_record
    order_id             bigint(20) not null  comment '订单ID',
    order_id             bigint(20) not null  comment '订单ID',
    refund_type          char(1) not null  comment '退款类型: 0 -> 自动退款, 1 -> 人工退款',
    refund_type          char(1) not null  comment '退款类型: 0 -> 自动退款, 1 -> 人工退款',
    refund_reason        varchar(200)  comment '退款原因',
    refund_reason        varchar(200)  comment '退款原因',
-   refund_amount        decimal(20,2) not null  comment '退款金额',
-   create_time          datetime not null  comment '创建时间',
-   create_user          bigint(20) not null  comment '创建人',
-   update_time          datetime not null  comment '修改时间',
-   update_user          bigint(20) not null  comment '修改人',
+   refund_amount        decimal(20,2) comment '退款金额',
+   create_time          datetime  comment '创建时间',
+   create_user          bigint(20)  comment '创建人',
+   update_time          datetime  comment '修改时间',
+   update_user          bigint(20)  comment '修改人',
    primary key (id)
    primary key (id)
 );
 );