From 4d56f351591cc6b48bcf4971d49a14a960c80650 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 4 Jan 2011 20:50:57 +0000 Subject: removed upgrade feed files 1-database to 60-database - they are old and unused in the current upgrade process git-svn-id: http://piwigo.org/svn/trunk@8470 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/db/20-database.php | 87 ---------------------------------------------- 1 file changed, 87 deletions(-) delete mode 100644 install/db/20-database.php (limited to 'install/db/20-database.php') diff --git a/install/db/20-database.php b/install/db/20-database.php deleted file mode 100644 index b0db73a41..000000000 --- a/install/db/20-database.php +++ /dev/null @@ -1,87 +0,0 @@ - $row['image_id'], - 'storage_category_id' => $row['category_id'], - ) - ); -} -mass_updates( - PREFIX_TABLE.'images', - array( - 'primary' => array('id'), - 'update' => array('storage_category_id'), - ), - $datas - ); - -// +-----------------------------------------------------------------------+ -// | Delete obsolete column | -// +-----------------------------------------------------------------------+ - -$query = ' -ALTER TABLE '.PREFIX_TABLE.'image_category DROP COLUMN is_storage -;'; -pwg_query($query); - -// +-----------------------------------------------------------------------+ -// | End notification | -// +-----------------------------------------------------------------------+ - -echo -"\n" -.'Column '.PREFIX_TABLE.'image_category' -.' replaced by '.PREFIX_TABLE.'images.storage_category_id'."\n" -; -?> -- cgit v1.2.3