PluginProbe
MakeCommerce for WooCommerce / 3.0.12
MakeCommerce for WooCommerce v3.0.12
4.1.0 4.0.8 trunk 1.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.2 All 96 releases
← All changes | includes/activator.php +19 -1 trunk3.0.12 View file →
@@ -55,8 +55,26 @@
55 55 PRIMARY KEY `id` (`id`)
56 56 )
57 57 " . $wpdb->get_charset_collate() . ";
58 58 ");
59 -
59 +
60 + //Create sco table if it doesn't already exist
61 + $wpdb->query
62 + ("
63 + CREATE TABLE IF NOT EXISTS
64 + `" . $wpdb->prefix . MAKECOMMERCE_SCO_TABLENAME . "`
65 + (
66 + `id` int(11) unsigned not null auto_increment,
67 + `cart_id` varchar(64) not null default '',
68 + `order_id` int(10) unsigned not null,
69 + `created` int(10) unsigned not null,
70 + `modified` int(10) unsigned not null,
71 + `status` tinyint unsigned not null,
72 + `content` mediumtext,
73 + primary key id (`id`),
74 + key `cart_id` (`cart_id`)
75 + )
76 + " . $wpdb->get_charset_collate() . ";
77 + ");
60 78 }
61 79
62 80 }