add new shop tables

This commit is contained in:
lightings 2022-11-01 11:26:33 +08:00
parent 705c4b125b
commit ca5dc6cacb

View File

@ -799,3 +799,39 @@ CREATE TABLE `t_transaction` (
KEY `account_id` (`account_id`) KEY `account_id` (`account_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t_shop_names`
--
DROP TABLE IF EXISTS `t_shop_names`;
CREATE TABLE `t_shop_names` (
`shopid` int(11) NOT NULL DEFAULT '0',
`shopname` varchar(16) DEFAULT NULL,
`refresh_type` int(11) NOT NULL DEFAULT '1',
PRIMARY KEY (`shopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Table structure for table `t_shop_goods`
--
DROP TABLE IF EXISTS `t_shop_goods`;
CREATE TABLE `t_shop_goods` (
`id` int(11) NOT NULL,
`shop_id` int(11) DEFAULT NULL,
`goods_id` int(11) DEFAULT NULL,
`tag` varchar(32) DEFAULT NULL,
`recommend` int(11) DEFAULT NULL,
`token_type` varchar(32) DEFAULT NULL,
`price` varchar(32) DEFAULT NULL,
`discount` varchar(32) DEFAULT NULL,
`discount_begin` varchar(32) DEFAULT NULL,
`discount_end` varchar(32) DEFAULT NULL,
`limit_type` int(11) DEFAULT NULL,
`limit_num` int(11) DEFAULT NULL,
`buy_cond` varchar(255) DEFAULT NULL,
`buy_gift` varchar(255) DEFAULT NULL,
`normal_gift` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;