This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop/doc/database/upgrade/v1.1.22.sql

28 lines
1.4 KiB
MySQL
Raw Normal View History

2020-04-25 22:20:29 +08:00
UPDATE `yoshop_store_access` SET `name`='运费模板' WHERE (`access_id`='10093');
CREATE TABLE `yoshop_order_extract` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id',
`order_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '订单id',
`linkman` varchar(30) NOT NULL DEFAULT '' COMMENT '联系人姓名',
`phone` varchar(20) NOT NULL DEFAULT '' COMMENT '联系电话',
`user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
`wxapp_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '小程序id',
`create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=10003 DEFAULT CHARSET=utf8 COMMENT='自提订单联系方式记录表';
CREATE TABLE `yoshop_sharing_order_extract` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id',
`order_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '订单id',
`linkman` varchar(30) NOT NULL DEFAULT '' COMMENT '联系人姓名',
`phone` varchar(20) NOT NULL DEFAULT '' COMMENT '联系电话',
`user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
`wxapp_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '小程序id',
`create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COMMENT='自提订单联系方式记录表';