diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 5feac79f..fea8dc19 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -1359,15 +1359,14 @@ CREATE TABLE `t_outapp_order` ( `platform` int(11) NOT NULL DEFAULT '0' COMMENT '0: ios 1: android', `account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '申请账号id', `address` varchar(60) DEFAULT NULL COMMENT '申请时账号绑定的钱包', - `item_id` int(11) NOT NULL DEFAULT '0' COMMENT '物品id', - `item_num` bigint(20) NOT NULL DEFAULT '0' COMMENT '物品数量', - `price` bigint(20) NOT NULL DEFAULT '0' COMMENT '价格', + `goods_id` int(11) NOT NULL DEFAULT '0' COMMENT '物品id', + `price` double NOT NULL DEFAULT '0' COMMENT '价格', `status` int(11) NOT NULL DEFAULT '0' COMMENT 'status', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', PRIMARY KEY (`idx`), UNIQUE KEY `order_id` (`order_id`), - UNIQUE KEY `platform_sp_order_id` (`platform_sp_order_id`), + UNIQUE KEY `platform_sp_order_id` (`platform`, `sp_order_id`), KEY `account_id` (`account_id`), KEY `address` (`address`), KEY `sp_order_id` (`sp_order_id`)