| @@ -22,3 +22,209 @@ CREATE TABLE `wx_coupon_batch_item` ( | |||||
| `parent_tenant_id` varchar(5) DEFAULT NULL, | `parent_tenant_id` varchar(5) DEFAULT NULL, | ||||
| PRIMARY KEY (`id`) | PRIMARY KEY (`id`) | ||||
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; | ||||
| create table wx_coupon_batch_0 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_1 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_2 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_3 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_4 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_5 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_6 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_7 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_8 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_9 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_10 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_11 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_12 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_13 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_14 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_15 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_16 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_17 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_18 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_19 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_20 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_21 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_22 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_23 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_24 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_25 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_26 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_27 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_28 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_29 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_30 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_31 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_32 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_33 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_34 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_35 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_36 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_37 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_38 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_39 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_40 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_41 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_42 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_43 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_44 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_45 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_46 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_47 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_48 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_49 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_50 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_51 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_52 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_53 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_54 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_55 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_56 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_57 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_58 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_59 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_60 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_61 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_62 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_63 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_64 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_65 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_66 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_67 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_68 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_69 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_70 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_71 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_72 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_73 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_74 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_75 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_76 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_77 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_78 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_79 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_80 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_81 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_82 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_83 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_84 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_85 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_86 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_87 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_88 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_89 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_90 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_91 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_92 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_93 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_94 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_95 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_96 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_97 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_98 like wx_coupon_batch; | |||||
| create table wx_coupon_batch_99 like wx_coupon_batch; | |||||
| drop table wx_coupon_batch; | |||||
| create table wx_coupon_batch_item_0 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_1 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_2 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_3 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_4 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_5 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_6 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_7 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_8 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_9 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_10 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_11 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_12 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_13 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_14 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_15 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_16 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_17 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_18 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_19 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_20 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_21 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_22 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_23 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_24 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_25 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_26 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_27 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_28 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_29 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_30 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_31 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_32 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_33 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_34 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_35 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_36 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_37 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_38 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_39 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_40 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_41 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_42 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_43 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_44 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_45 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_46 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_47 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_48 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_49 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_50 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_51 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_52 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_53 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_54 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_55 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_56 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_57 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_58 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_59 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_60 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_61 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_62 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_63 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_64 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_65 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_66 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_67 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_68 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_69 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_70 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_71 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_72 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_73 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_74 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_75 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_76 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_77 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_78 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_79 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_80 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_81 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_82 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_83 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_84 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_85 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_86 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_87 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_88 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_89 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_90 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_91 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_92 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_93 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_94 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_95 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_96 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_97 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_98 like wx_coupon_batch_item; | |||||
| create table wx_coupon_batch_item_99 like wx_coupon_batch_item; | |||||
| drop table wx_coupon_batch_item; | |||||