mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user