Permalink
Browse files

Add South Sudan and Kosovo to the country list

  • Loading branch information...
1 parent 204817d commit fd2bd8627c3cf99bf1be04cf9daad774d2c2dddc @rjmackay rjmackay committed Feb 23, 2014
Showing with 13 additions and 4 deletions.
  1. +1 −1 application/config/version.php
  2. +7 −0 sql/upgrade114-115.sql
  3. +5 −3 sql/ushahidi.sql
View
2 application/config/version.php
@@ -9,4 +9,4 @@
* The Ushahidi Engine DB revision number
* Increments when changes are made to the Ushahidi DB schema.
*/
-$config['ushahidi_db_version'] = "113";
+$config['ushahidi_db_version'] = "115";
View
7 sql/upgrade114-115.sql
@@ -0,0 +1,7 @@
+-- Add Kosovo and South Sudan
+INSERT INTO `country` (`id`, `iso`, `country`, `capital`, `cities`) VALUES
+(248, 'XK', 'Kosovo', 'Pristina', 0),
+(249, 'SS', 'South Sudan', 'Juba', 0);
+
+-- Update DB Version --
+UPDATE `settings` SET `value` = '115' WHERE `key` = 'db_version';
View
8 sql/ushahidi.sql
@@ -1,5 +1,5 @@
-- Ushahidi Engine
--- version 110
+-- version 115
-- http://www.ushahidi.com
@@ -557,7 +557,9 @@ INSERT INTO `country` (`id`, `iso`, `country`, `capital`, `cities`) VALUES
(244, 'YT', 'Mayotte', 'Mamoudzou', 0),
(245, 'ZA', 'South Africa', 'Pretoria', 0),
(246, 'ZM', 'Zambia', 'Lusaka', 0),
-(247, 'ZW', 'Zimbabwe', 'Harare', 0);
+(247, 'ZW', 'Zimbabwe', 'Harare', 0),
+(248, 'XK', 'Kosovo', 'Pristina', 0),
+(249, 'SS', 'South Sudan', 'Juba', 0);
-- --------------------------------------------------------
@@ -1457,5 +1459,5 @@ CREATE TABLE IF NOT EXISTS `verified` (
* Version information for table `settings`
*
*/
-UPDATE `settings` SET `value` = '113' WHERE `key` = 'db_version';
+UPDATE `settings` SET `value` = '115' WHERE `key` = 'db_version';
UPDATE `settings` SET `value` = '2.7.2' WHERE `key`= 'ushahidi_version';

0 comments on commit fd2bd86

Please sign in to comment.