add sql
This commit is contained in:
parent
72398c66d2
commit
1fd32bbe7d
@ -1175,3 +1175,27 @@ CREATE TABLE `t_user_pass` (
|
|||||||
UNIQUE KEY `account_season_id` (`account_id`, `season_id`)
|
UNIQUE KEY `account_season_id` (`account_id`, `season_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_bc_order`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `t_bc_order`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `t_bc_order` (
|
||||||
|
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||||
|
`order_id` varchar(255) COMMENT '订单号',
|
||||||
|
`order_type` int(11) NOT NULL COMMENT '0: 小胡 ',
|
||||||
|
`account_id` varchar(60) NOT NULL COMMENT '账户id 只用做事后分析用',
|
||||||
|
`address` varchar(60) COMMENT 'address',
|
||||||
|
`status` int(11) NOT NULL DEFAULT '0' COMMENT '0: 支付中 1: 已发货',
|
||||||
|
`item_id` int(11) NOT NULL COMMENT '道具id',
|
||||||
|
`item_num` bigint NOT NULL DEFAULT '0' COMMENT '道具数量',
|
||||||
|
`ext_data` mediumblob COMMENT '扩展数据自定义',
|
||||||
|
`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`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
21
sql/gamedb2006_migrate_230619_01.sql
Normal file
21
sql/gamedb2006_migrate_230619_01.sql
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
begin;
|
||||||
|
|
||||||
|
CREATE TABLE `t_bc_order` (
|
||||||
|
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||||
|
`order_id` varchar(255) COMMENT '订单号',
|
||||||
|
`order_type` int(11) NOT NULL COMMENT '0: 小胡 ',
|
||||||
|
`account_id` varchar(60) NOT NULL COMMENT '账户id 只用做事后分析用',
|
||||||
|
`address` varchar(60) COMMENT 'address',
|
||||||
|
`status` int(11) NOT NULL DEFAULT '0' COMMENT '0: 支付中 1: 已发货',
|
||||||
|
`item_id` int(11) NOT NULL COMMENT '道具id',
|
||||||
|
`item_num` bigint NOT NULL DEFAULT '0' COMMENT '道具数量',
|
||||||
|
`ext_data` mediumblob COMMENT '扩展数据自定义',
|
||||||
|
`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`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||||
|
|
||||||
|
insert into version (version) values(2023061901);
|
||||||
|
|
||||||
|
commit;
|
Loading…
x
Reference in New Issue
Block a user