This commit is contained in:
aozhiwei 2019-08-22 16:20:50 +08:00
parent 22e93fc7ec
commit fe0af01908

View File

@ -292,8 +292,9 @@ CREATE TABLE `buy_his` (
`itemid` int(11) NOT NULL DEFAULT '0' COMMENT 'itemid', `itemid` int(11) NOT NULL DEFAULT '0' COMMENT 'itemid',
`sum_times` int(11) NOT NULL DEFAULT '0' COMMENT '累计充值次数', `sum_times` int(11) NOT NULL DEFAULT '0' COMMENT '累计充值次数',
`today_times` int(11) NOT NULL DEFAULT '0' COMMENT '今日充值次数', `today_times` int(11) NOT NULL DEFAULT '0' COMMENT '今日充值次数',
`create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `last_buy_time` int(11) NOT NULL DEFAULT '0' COMMENT '最后购买时间',
`modify_time` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modify_time` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`), PRIMARY KEY (`idx`),
KEY `accountid` (`accountid`), KEY `accountid` (`accountid`),
UNIQUE KEY `accountid_itemid` (`accountid`, `itemid`) UNIQUE KEY `accountid_itemid` (`accountid`, `itemid`)
@ -313,8 +314,9 @@ CREATE TABLE `orderinfo` (
`create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modify_time` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', `modify_time` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`), PRIMARY KEY (`idx`),
UNIQUE KEY `orderid` (`orderid`),
KEY `accountid` (`accountid`), KEY `accountid` (`accountid`),
UNIQUE KEY `orderid` (`orderid`) KEY `accountid_itemid` (`accountid`, `itemid`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
DROP TABLE IF EXISTS `vipinfo`; DROP TABLE IF EXISTS `vipinfo`;