diff --git a/application/config/migration.php b/application/config/migration.php index 4e802368..6e6072fa 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE; | */ -$config['migration_version'] = 187; +$config['migration_version'] = 188; /* |-------------------------------------------------------------------------- diff --git a/application/migrations/188_tag_2_6_16.php b/application/migrations/188_tag_2_6_16.php new file mode 100644 index 00000000..02c57fc7 --- /dev/null +++ b/application/migrations/188_tag_2_6_16.php @@ -0,0 +1,30 @@ +db->where('option_name', 'version'); + $this->db->update('options', array('option_value' => '2.6.16')); + + // 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.15')); + } +} \ No newline at end of file