Skip to content

Commit

Permalink
Upgraded db and platform version
Browse files Browse the repository at this point in the history
  • Loading branch information
kamaulynder committed Aug 21, 2013
1 parent 39182fe commit 8fc5a07
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions application/config/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
* The Ushahidi Engine version
* Make sure to update the ushahidi_version in the settings table too!
*/
$config['ushahidi_version'] = "2.7";
$config['ushahidi_version'] = "2.7.1";

/**
* The Ushahidi Engine DB revision number
* Increments when changes are made to the Ushahidi DB schema.
*/
$config['ushahidi_db_version'] = "107";
$config['ushahidi_db_version'] = "108";
5 changes: 5 additions & 0 deletions sql/upgrade107-108.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- UPDATE db_version
UPDATE `settings` SET `value` = 108 WHERE `key` = 'db_version';

-- UPDATE ushahidi_version
UPDATE `settings` SET `value` = '2.7.1' WHERE `key` = 'ushahidi_version';
4 changes: 2 additions & 2 deletions sql/ushahidi.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1498,5 +1498,5 @@ CREATE TABLE IF NOT EXISTS `verified` (
* Version information for table `settings`
*
*/
UPDATE `settings` SET `value` = '107' WHERE `key` = 'db_version';
UPDATE `settings` SET `value` = '2.7' WHERE `key`= 'ushahidi_version';
UPDATE `settings` SET `value` = '108' WHERE `key` = 'db_version';
UPDATE `settings` SET `value` = '2.7.1' WHERE `key`= 'ushahidi_version';

0 comments on commit 8fc5a07

Please sign in to comment.