添加默认值

This commit is contained in:
aozhiwei 2019-08-31 13:26:34 +08:00
parent b5c9f4a34f
commit 27d2235fa6

View File

@ -68,7 +68,7 @@ CREATE TABLE `orderinfo` (
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`sp_orderid` varchar(60) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT '平台的订单id',
`sp_amount` double NOT NULL COMMENT 'sp_amount',
`sp_amount` double NOT NULL DEFAULT '0' COMMENT 'sp_amount',
`sp_confirm_time` int(11) NOT NULL DEFAULT '0' COMMENT '平台确认时间',
`sp_pay_result` int(11) NOT NULL DEFAULT '0' COMMENT '0: 未确认 1: 支付成功 -1:支付失败',