From 70cf50766e62aa3a06f058d8ea062dc36935013f Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 1 Oct 2011 22:56:33 +0000 Subject: 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 --- upgrade.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'upgrade.php') diff --git a/upgrade.php b/upgrade.php index 8257ba3fb..43cf70b7a 100644 --- a/upgrade.php +++ b/upgrade.php @@ -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'); -- cgit v1.2.3