summaryrefslogtreecommitdiffstats
path: root/lib/class/update.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-04 07:46:08 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-04 07:46:08 +0000
commit95d8e4136e763541cae053a7603fcf79664acde8 (patch)
tree48ee7556711613411a8fb585b689a821c4f97d6b /lib/class/update.class.php
parent14a95b00a23893d9c2a5f4d9545746a8d8cf8a4a (diff)
downloadampache-95d8e4136e763541cae053a7603fcf79664acde8.tar.gz
ampache-95d8e4136e763541cae053a7603fcf79664acde8.tar.bz2
ampache-95d8e4136e763541cae053a7603fcf79664acde8.zip
fixed a problem with m3u importing on catalog add/build
Diffstat (limited to 'lib/class/update.class.php')
-rw-r--r--lib/class/update.class.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/class/update.class.php b/lib/class/update.class.php
index af14c2a0..8ef40403 100644
--- a/lib/class/update.class.php
+++ b/lib/class/update.class.php
@@ -1217,5 +1217,20 @@ class Update {
} // update_332003
+ /*!
+ @function update_332004
+ @discussion adds a id to the playlist_data field because of a problem
+ with updating the same song on the same playlist being basicly
+ impossible...Also re-works the indexing on the tables
+ */
+ function update_332004() {
+
+ $sql = "ALTER TABLE `playlist_data` ADD `id` INT( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT FIRST";
+ $db_results = mysql_query($sql, dbh());
+
+ $this->set_version('db_version','332004');
+
+ } // update_332004
+
} // end update class
?>