diff --git a/application/config/migration.php b/application/config/migration.php index 4d694c727..3832109d0 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -22,7 +22,7 @@ | */ -$config['migration_version'] = 177; +$config['migration_version'] = 178; /* |-------------------------------------------------------------------------- diff --git a/application/migrations/178_tag_2_6_9.php b/application/migrations/178_tag_2_6_9.php new file mode 100644 index 000000000..e1183e37d --- /dev/null +++ b/application/migrations/178_tag_2_6_9.php @@ -0,0 +1,30 @@ +db->where('option_name', 'version'); + $this->db->update('options', array('option_value' => '2.6.9')); + + // 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.8')); + } +} \ No newline at end of file