2020-12-04 17:15:40: ---------> SQL:
CREATE TABLE `zjhj_bd_aliapp_template` ( `id` int(11) NOT NULL AUTO_INCREMENT, `mall_id` int(11) NOT NULL, `tpl_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `tpl_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '', `created_at` timestamp(0) NULL DEFAULT NULL, `updated_at` timestamp(0) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
Params:
array ( )
SQL Error:
Table 'zjhj_bd_aliapp_template' already exists
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 264;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:42: ---------> SQL:
ALTER TABLE zjhj_bd_order_refund ADD reality_refund_price DECIMAL ( 10, 2 ) NOT NULL DEFAULT '0' COMMENT '商家实际退款金额';
Params:
array ( )
SQL Error:
Duplicate column name 'reality_refund_price'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 404;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:42: ---------> SQL:
ALTER TABLE `zjhj_bd_goods_attr` ADD INDEX `goods_id`(`goods_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'goods_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 646;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:43: ---------> SQL:
ALTER TABLE `zjhj_bd_option` ADD INDEX `mall_id`(`mall_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'mall_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 646;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:43: ---------> SQL:
ALTER TABLE `zjhj_bd_option` ADD INDEX `name`(`name`);
Params:
array ( )
SQL Error:
Duplicate key name 'name'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 646;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:44: ---------> SQL:
ALTER TABLE `zjhj_bd_quick_share_goods` ADD INDEX `goods_id`(`goods_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'goods_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 646;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:44: ---------> SQL:
ALTER TABLE `zjhj_bd_share` ADD INDEX `mall_id`(`mall_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'mall_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 646;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:45: ---------> SQL:
ALTER TABLE `zjhj_bd_user` ADD INDEX `mall_id`(`mall_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'mall_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 646;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:45: ---------> SQL:
ALTER TABLE `zjhj_bd_user` ADD INDEX `username`(`username`);
Params:
array ( )
SQL Error:
Duplicate key name 'username'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 646;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:45: ---------> SQL:
ALTER TABLE `zjhj_bd_user` ADD INDEX `access_token`(`access_token`);
Params:
array ( )
SQL Error:
Duplicate key name 'access_token'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 646;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:45: ---------> SQL:
ALTER TABLE `zjhj_bd_share` ADD COLUMN `level` int(11) NOT NULL DEFAULT 0 COMMENT '分销商等级', ADD COLUMN `level_at` timestamp NULL DEFAULT '' COMMENT '成为分销商等级时间', ADD COLUMN `delete_first_show` tinyint(1) NOT NULL DEFAULT 0 COMMENT '删除后是否第一次展示';
Params:
array ( )
SQL Error:
Invalid default value for 'level_at'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 696;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:47: ---------> SQL:
ALTER TABLE `zjhj_bd_attachment` ADD INDEX `mall_id`(`mall_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'mall_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 915;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:47: ---------> SQL:
ALTER TABLE `zjhj_bd_attachment` ADD INDEX `type`(`type`);
Params:
array ( )
SQL Error:
Duplicate key name 'type'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 915;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:47: ---------> SQL:
ALTER TABLE `zjhj_bd_attachment` ADD INDEX `mch_id`(`mch_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'mch_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 915;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:47: ---------> SQL:
ALTER TABLE `zjhj_bd_attachment` ADD INDEX `attachment_group_id`(`attachment_group_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'attachment_group_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 915;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:48: ---------> SQL:
ALTER TABLE `zjhj_bd_mall_members` ADD INDEX `level`(`level`);
Params:
array ( )
SQL Error:
Duplicate key name 'level'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 998;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:48: ---------> SQL:
ALTER TABLE `zjhj_bd_mall_members` ADD INDEX `mall_id`(`mall_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'mall_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 998;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:48: ---------> SQL:
ALTER TABLE `zjhj_bd_printer_setting` ADD INDEX `mch_id`(`mch_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'mch_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 998;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:48: ---------> SQL:
ALTER TABLE `zjhj_bd_printer_setting` ADD INDEX `mall_id`(`mall_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'mall_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 998;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:48: ---------> SQL:
ALTER TABLE `zjhj_bd_printer_setting` ADD INDEX `status`(`status`);
Params:
array ( )
SQL Error:
Duplicate key name 'status'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 998;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:48: ---------> SQL:
ALTER TABLE `zjhj_bd_printer_setting` ADD INDEX `store_id`(`store_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'store_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 998;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:48: ---------> SQL:
ALTER TABLE `zjhj_bd_order` ADD INDEX `index2`(`mall_id`,`is_delete`,`user_id`,`is_confirm`,`is_sale`,`sale_status`,`cancel_status`,`is_recycle`);
Params:
array ( )
SQL Error:
Duplicate key name 'index2'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 998;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:48: ---------> SQL:
ALTER TABLE `zjhj_bd_order` ADD INDEX `index3`(`mall_id`,`is_delete`,`user_id`,`is_send`,`pay_type`,`is_pay`,`cancel_status`,`is_recycle`);
Params:
array ( )
SQL Error:
Duplicate key name 'index3'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 998;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:48: ---------> SQL:
ALTER TABLE `zjhj_bd_vip_card_appoint_goods` ADD INDEX `goods_id`(`goods_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'goods_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 998;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:48: ---------> SQL:
ALTER TABLE `zjhj_bd_vip_card_setting` ADD INDEX `mall_id`(`mall_id`);
Params:
array ( )
SQL Error:
Duplicate key name 'mall_id'
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 998;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:49: ---------> SQL:
CREATE TABLE `zjhj_bd_ecard_options` ( `id` int(11) NOT NULL AUTO_INCREMENT, `mall_id` int(11) NOT NULL, `token` varchar(255) NOT NULL DEFAULT '' COMMENT '加密字符串', `ecard_id` int(11) NOT NULL DEFAULT '0' COMMENT '电子卡密id', `value` longtext NOT NULL COMMENT '卡密字段值', `is_delete` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除', `is_sales` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否出售', `created_at` timestamp NOT NULL, `updated_at` timestamp NOT NULL, `deleted_at` timestamp NOT NULL, `is_occupy` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否被占用 0--否 1--是', PRIMARY KEY (`id`), KEY `e_card_id` (`ecard_id`), KEY `token` (`token`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='电子卡密数据';
Params:
array ( )
SQL Error:
Table 'zjhj_bd_ecard_options' already exists
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 1085;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<--------- 2020-12-04 17:15:49: ---------> SQL:
CREATE TABLE `zjhj_bd_ecard_options` ( `id` int(11) NOT NULL AUTO_INCREMENT, `mall_id` int(11) NOT NULL, `token` varchar(70) NOT NULL DEFAULT '' COMMENT '加密字符串', `ecard_id` int(11) NOT NULL DEFAULT '0' COMMENT '电子卡密id', `value` longtext NOT NULL COMMENT '卡密字段值', `is_delete` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除', `is_sales` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否出售', `created_at` timestamp NOT NULL, `updated_at` timestamp NOT NULL, `deleted_at` timestamp NOT NULL, `is_occupy` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否被占用 0--否 1--是', PRIMARY KEY (`id`), KEY `e_card_id` (`ecard_id`), KEY `token` (`token`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='电子卡密数据';
Params:
array ( )
SQL Error:
Table 'zjhj_bd_ecard_options' already exists
Traces:
file: /framework/class/db.class.php; line: 396;
file: /framework/class/db.class.php; line: 94;
file: /framework/class/db.class.php; line: 311;
file: /framework/function/pdo.func.php; line: 120;
file: /addons/zjhj_bd/upgrade.php; line: 52;
file: /addons/zjhj_bd/versions.php; line: 1092;
file: /addons/zjhj_bd/upgrade.php; line: 140;
file: /framework/model/extension.mod.php; line: 682;
file: /web/source/module/manage-system.ctrl.php; line: 423;
file: /web/index.php; line: 130;
file: /Users/wuxuefeng/.composer/vendor/laravel/valet/server.php; line: 191;
<---------