This commit is contained in:
aozhiwei 2024-07-10 16:51:16 +08:00
parent 716d449fec
commit 9959b31153
2 changed files with 21 additions and 0 deletions

View File

@ -244,4 +244,23 @@ CREATE TABLE `t_shopcart` (
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t_used_gold_bullion`
--
DROP TABLE IF EXISTS `t_used_gold_bullion`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_used_gold_bullion` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`net_id` bigint NOT NULL DEFAULT '0' COMMENT 'net_id',
`token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'open_id',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
UNIQUE KEY `idx_net_id_token_id` (`net_id_token_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dump completed on 2015-08-19 18:51:22

View File

@ -1781,6 +1781,8 @@ CREATE TABLE `t_gold_bullion` (
PRIMARY KEY (`idx`),
UNIQUE KEY `idx_token_id` (`token_id`),
UNIQUE KEY `idx_token_id_net_id` (`token_id`, `net_id`),
KEY `idx_activated_returned_status` (`activated`, `returned`, `status`),
KEY `idx_createtime` (`createtime`),
KEY `idx_open_address_open_status` (`open_address`, `open_status`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;