database update script split at 2245

git-svn-id: http://www.observium.org/svn/observer/trunk@2246 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-05-05 10:45:46 +00:00
parent d44d7755f2
commit bf12b94a19
3 changed files with 55 additions and 50 deletions

View File

@@ -130,6 +130,11 @@ if (file_exists('.svn'))
echo("Running pre-revision 1435 SQL update script...\n");
shell_exec("scripts/update-sql.php database-update-pre1435.sql");
}
if ($db_rev+0 < "2245")
{
echo("Running pre-revision 2245 (0.11.5) SQL update script...\n");
shell_exec("scripts/update-sql.php database-update-pre2245.sql");
}
echo("Running development SQL update script to update from r$db_rev to r" . trim($dbu_rev) . "...\n");
shell_exec("scripts/update-sql.php database-update.sql");
if ($db_rev == 0)