Skip to content

Commit 8cb5548

Browse files
committed
Fix #2490
1 parent 71b5258 commit 8cb5548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upgrade/definitions/0.0.11_to_0.0.12.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function run_0012() {
1111
// Upgrade specific variables
1212
$aSql[] = "CREATE TABLE `coin_addresses` ( `id` int(11) NOT NULL AUTO_INCREMENT, `account_id` int(11) NOT NULL, `currency` varchar(5) NOT NULL, `coin_address` varchar(255) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `coin_address` (`coin_address`), KEY `account_id` (`account_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8";
1313
$aSql[] = "INSERT IGNORE INTO coin_addresses (account_id, currency, coin_address) SELECT id, '" . $config['currency'] . "', coin_address FROM " . $user->getTableName() . " WHERE coin_address IS NOT NULL";
14-
$aSql[] = "ALTER TABLE `" . $user->getTableName() . "` DROP `coin_address`";
14+
$aSql[] = "ALTER TABLE " . $user->getTableName() . " DROP `coin_address`";
1515
$aSql[] = "UPDATE " . $setting->getTableName() . " SET value = '0.0.12' WHERE name = 'DB_VERSION'";
1616

1717
if ($db_version_now == $db_version_old && version_compare($db_version_now, DB_VERSION, '<')) {

0 commit comments

Comments
 (0)