From 8219193ab4ab4296965f9d479a84081cdf2df270 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Thu, 16 Apr 2015 12:32:33 +0200 Subject: [PATCH] [FIX] Copy and paste error --- upgrade/definitions/1.0.0_to_1.0.1.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade/definitions/1.0.0_to_1.0.1.inc.php b/upgrade/definitions/1.0.0_to_1.0.1.inc.php index f616e890..9b6bd4f5 100644 --- a/upgrade/definitions/1.0.0_to_1.0.1.inc.php +++ b/upgrade/definitions/1.0.0_to_1.0.1.inc.php @@ -10,7 +10,7 @@ function run_101() { // Upgrade specific variables $aSql[] = "ALTER TABLE `" . $coin_address->getTableName() . "` ADD ap_threshold float DEFAULT '0'"; - $aSql[] = "UPDATE " . $coin_address->getTableName() . " AS ca LEFT JOIN " . $user->getTableName() . " AS a ON a.id = ca.account_id SET ca.coin_address = a.coin_address"; + $aSql[] = "UPDATE " . $coin_address->getTableName() . " AS ca LEFT JOIN " . $user->getTableName() . " AS a ON a.id = ca.account_id SET ca.ap_threshold = a.ap_threshold"; $aSql[] = "ALTER TABLE `" . $user->getTableName() . "` DROP `ap_threshold`"; $aSql[] = "UPDATE " . $setting->getTableName() . " SET value = '1.0.1' WHERE name = 'DB_VERSION'";