diff --git a/application/config/migration.php b/application/config/migration.php index ad5f2d9e..c52d5d72 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE; | */ -$config['migration_version'] = 184; +$config['migration_version'] = 185; /* |-------------------------------------------------------------------------- diff --git a/application/migrations/185_tag_2_6_14.php b/application/migrations/185_tag_2_6_14.php new file mode 100644 index 00000000..b5999005 --- /dev/null +++ b/application/migrations/185_tag_2_6_14.php @@ -0,0 +1,30 @@ +db->where('option_name', 'version'); + $this->db->update('options', array('option_value' => '2.6.14')); + + // Trigger Version Info Dialog + $this->db->where('option_type', 'version_dialog'); + $this->db->where('option_name', 'confirmed'); + $this->db->update('user_options', array('option_value' => 'false')); + + } + + public function down() + { + $this->db->where('option_name', 'version'); + $this->db->update('options', array('option_value' => '2.6.13')); + } +} \ No newline at end of file