From b45b9625fb44084f50ca8fb5c4414b6ee1c325d6 Mon Sep 17 00:00:00 2001 From: SerHack <27734319+serhack@users.noreply.github.com> Date: Wed, 18 Mar 2020 10:44:17 +0100 Subject: [PATCH] Update monero-woocommerce-gateway.php --- monero-woocommerce-gateway.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monero-woocommerce-gateway.php b/monero-woocommerce-gateway.php index 1c7e3b5..1b10f4d 100644 --- a/monero-woocommerce-gateway.php +++ b/monero-woocommerce-gateway.php @@ -209,7 +209,7 @@ function monero_install() { if($wpdb->get_var("show tables like '$table_name'") != $table_name) { $sql = "CREATE TABLE $table_name ( order_id BIGINT(20) UNSIGNED NOT NULL, - payment_id VARCHAR(94) DEFAULT '' NOT NULL, + payment_id VARCHAR(95) DEFAULT '' NOT NULL, currency VARCHAR(6) DEFAULT '' NOT NULL, rate BIGINT UNSIGNED DEFAULT 0 NOT NULL, amount BIGINT UNSIGNED DEFAULT 0 NOT NULL, @@ -226,7 +226,7 @@ function monero_install() { if($wpdb->get_var("show tables like '$table_name'") != $table_name) { $sql = "CREATE TABLE $table_name ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, - payment_id VARCHAR(94) DEFAULT '' NOT NULL, + payment_id VARCHAR(95) DEFAULT '' NOT NULL, txid VARCHAR(64) DEFAULT '' NOT NULL, amount BIGINT UNSIGNED DEFAULT 0 NOT NULL, height MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,