summaryrefslogtreecommitdiffstats
path: root/lib/class/update.class.php
diff options
context:
space:
mode:
authormomo-i <momo-i@ampache>2008-08-24 22:17:00 +0000
committermomo-i <momo-i@ampache>2008-08-24 22:17:00 +0000
commitb395cd2f88daf5154517f88171547d18c95b6447 (patch)
tree48c1c7b6eaa2ebb5c5693e69c07e22a4b7242049 /lib/class/update.class.php
parent5e215eba46abb7b3923f984b2cebf5891454e340 (diff)
downloadampache-b395cd2f88daf5154517f88171547d18c95b6447.tar.gz
ampache-b395cd2f88daf5154517f88171547d18c95b6447.tar.bz2
ampache-b395cd2f88daf5154517f88171547d18c95b6447.zip
Fixed: may be unable to rename tags table.
Diffstat (limited to 'lib/class/update.class.php')
-rw-r--r--lib/class/update.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/update.class.php b/lib/class/update.class.php
index b56e51d8..4ddab260 100644
--- a/lib/class/update.class.php
+++ b/lib/class/update.class.php
@@ -1349,7 +1349,7 @@ class Update {
$sql = "ALTER TABLE `tag_map` ADD `tag_id` INT ( 11 ) UNSIGNED NOT NULL AFTER `id`";
$db_results = Dba::query($sql);
- $sql = "RENAME TABLE `ampache`.`tags` TO `ampache`.`tag`";
+ $sql = "RENAME TABLE `tags` TO `tag`";
$db_results = Dba::query($sql);
$sql = "ALTER TABLE `tag` CHANGE `map_id` `id` INT ( 11 ) UNSIGNED NOT NULL auto_increment";