From 2541786ef5b6349035e8bbf22256013795601807 Mon Sep 17 00:00:00 2001 From: Rohan V Date: Wed, 18 Dec 2019 12:49:32 +0530 Subject: [PATCH] Increase field size for new installation --- includes/class-wc-install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-wc-install.php b/includes/class-wc-install.php index 45b9e2b0055..099ceb18e79 100644 --- a/includes/class-wc-install.php +++ b/includes/class-wc-install.php @@ -889,8 +889,8 @@ CREATE TABLE {$wpdb->prefix}wc_product_meta_lookup ( `sku` varchar(100) NULL default '', `virtual` tinyint(1) NULL default 0, `downloadable` tinyint(1) NULL default 0, - `min_price` decimal(10,2) NULL default NULL, - `max_price` decimal(10,2) NULL default NULL, + `min_price` decimal(19,4) NULL default NULL, + `max_price` decimal(19,4) NULL default NULL, `onsale` tinyint(1) NULL default 0, `stock_quantity` double NULL default NULL, `stock_status` varchar(100) NULL default 'instock',