diff options
author | momo-i <momo-i@ampache> | 2008-08-24 22:17:00 +0000 |
---|---|---|
committer | momo-i <momo-i@ampache> | 2008-08-24 22:17:00 +0000 |
commit | b395cd2f88daf5154517f88171547d18c95b6447 (patch) | |
tree | 48c1c7b6eaa2ebb5c5693e69c07e22a4b7242049 | |
parent | 5e215eba46abb7b3923f984b2cebf5891454e340 (diff) | |
download | ampache-b395cd2f88daf5154517f88171547d18c95b6447.tar.gz ampache-b395cd2f88daf5154517f88171547d18c95b6447.tar.bz2 ampache-b395cd2f88daf5154517f88171547d18c95b6447.zip |
Fixed: may be unable to rename tags table.
-rw-r--r-- | lib/class/update.class.php | 2 |
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"; |