summaryrefslogtreecommitdiffstats
path: root/lib/class/update.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-25 01:05:23 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-25 01:05:23 +0000
commite32557bf900153c5cfb0d2f28640aa9091ef7488 (patch)
tree56e2d9b722c582d536a6b3e8065914851894db72 /lib/class/update.class.php
parent3ad79fc4c9a6718a336fd929e33b6a0ac9bbf173 (diff)
downloadampache-e32557bf900153c5cfb0d2f28640aa9091ef7488.tar.gz
ampache-e32557bf900153c5cfb0d2f28640aa9091ef7488.tar.bz2
ampache-e32557bf900153c5cfb0d2f28640aa9091ef7488.zip
finished up ACL work
Diffstat (limited to 'lib/class/update.class.php')
-rw-r--r--lib/class/update.class.php33
1 files changed, 21 insertions, 12 deletions
diff --git a/lib/class/update.class.php b/lib/class/update.class.php
index ca5b4d6e..e505ea87 100644
--- a/lib/class/update.class.php
+++ b/lib/class/update.class.php
@@ -281,12 +281,13 @@ class Update {
$version[] = array('version' => '332011','description' => $update_string);
$update_string = '- Reworked All Indexes on tables, hopefully leading to performance improvements.<br />' .
- '- Added live_stream table for radio station support.<br />' .
'- Added id int(11) UNSIGNED fields to a few tables missing it.<br />' .
'- Removed DB Based color/font preferences and Theme preferences catagory.<br />';
$version[] = array('version' => '332012','description' => $update_string);
+ $update_string = '- Added live_stream table for radio station support.<br />';
+
return $version;
@@ -1643,17 +1644,6 @@ class Update {
*/
function update_332012() {
- $sql = "CREATE TABLE `live_stream` (" .
- "`id` INT( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ," .
- "`name` VARCHAR( 128 ) NOT NULL ," .
- "`site_url` VARCHAR( 255 ) NOT NULL ," .
- "`url` VARCHAR( 255 ) NOT NULL ," .
- "`genre` INT( 11 ) UNSIGNED NOT NULL ," .
- "`catalog` INT( 11 ) UNSIGNED NOT NULL ," .
- "`frequency` VARCHAR( 32 ) NOT NULL ," .
- "`call_sign` VARCHAR( 32 ) NOT NULL" .
- ") ENGINE = MYISAM";
-
/* Clean Up Indexes */
// Access List
@@ -1785,6 +1775,25 @@ class Update {
$this->set_version('db_version','332012');
} // update_332012
+
+ /**
+ * update_332013
+ * OMG BeatingsForVollmer++
+ */
+ function update_332013() {
+
+ $sql = "CREATE TABLE `live_stream` (" .
+ "`id` INT( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ," .
+ "`name` VARCHAR( 128 ) NOT NULL ," .
+ "`site_url` VARCHAR( 255 ) NOT NULL ," .
+ "`url` VARCHAR( 255 ) NOT NULL ," .
+ "`genre` INT( 11 ) UNSIGNED NOT NULL ," .
+ "`catalog` INT( 11 ) UNSIGNED NOT NULL ," .
+ "`frequency` VARCHAR( 32 ) NOT NULL ," .
+ "`call_sign` VARCHAR( 32 ) NOT NULL" .
+ ")";
+
+ } // update_332013
} // end update class
?>