diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-29 05:59:44 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-29 05:59:44 +0000 |
commit | 070b12d08abce6842fe2f0a66c0676438949f25c (patch) | |
tree | b2e61f8a2929310b0dbdb53f830d96ddb682eb75 /lib/class | |
parent | ed04606a52c31c951c766aca152ca91c138fbbf1 (diff) | |
download | ampache-070b12d08abce6842fe2f0a66c0676438949f25c.tar.gz ampache-070b12d08abce6842fe2f0a66c0676438949f25c.tar.bz2 ampache-070b12d08abce6842fe2f0a66c0676438949f25c.zip |
tweaked earlier update to use medium blob
Diffstat (limited to 'lib/class')
-rw-r--r-- | lib/class/update.class.php | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/class/update.class.php b/lib/class/update.class.php index 5f3874d2..9ccd966b 100644 --- a/lib/class/update.class.php +++ b/lib/class/update.class.php @@ -576,7 +576,7 @@ class Update { $sql = "CREATE TABLE `album_data` (" . "`album_id` INT( 11 ) UNSIGNED NOT NULL , " . - "`art` BLOB NULL , " . + "`art` MEDIUMBLOB NULL , " . "`art_mime` VARCHAR( 64 ) NULL , " . "`thumb` BLOB NULL , " . "`thumb_mime` VARCHAR( 64 ) NULL , " . @@ -762,5 +762,17 @@ class Update { } // update_340005 + /** + * update_340006 + * This just updates the size of the album_data table + * and removes the random_method config option + */ + public static function update_340006() { + + $sql = "ALTER TABLE `album_data` CHANGE `art` `art` MEDIUMBLOB NULL DEFAULT NULL"; + $db_results = Dba::query($sql); + + } // update_340006 + } // end update class ?> |