feature 2452 added: upgrade script from 2.2 to 2.3

git-svn-id: http://piwigo.org/svn/trunk@12296 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2011-10-01 22:56:33 +00:00
parent 33c38abc00
commit 70cf50766e
3 changed files with 123 additions and 1 deletions
+4
View File
@@ -288,6 +288,10 @@ else if (!in_array('added_by', $columns_of[PREFIX_TABLE.'images']))
{
$current_release = '2.1.0';
}
else if (!in_array('rating_score', $columns_of[PREFIX_TABLE.'images']))
{
$current_release = '2.2.0';
}
else
{
die('No upgrade required, the database structure is up to date');