wc_update_400_increase_size_of_column()
Increase column size
Contents
Description Description
Source Source
File: includes/wc-update-functions.php
function wc_update_400_increase_size_of_column() { global $wpdb; $wpdb->query( "ALTER TABLE {$wpdb->prefix}wc_product_meta_lookup MODIFY COLUMN `min_price` decimal(19,4) NULL default NULL" ); $wpdb->query( "ALTER TABLE {$wpdb->prefix}wc_product_meta_lookup MODIFY COLUMN `max_price` decimal(19,4) NULL default NULL" ); }