aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade.php')
-rw-r--r--upgrade.php4
1 files changed, 4 insertions, 0 deletions
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');