From f073e3c158ca117b74a165dca94b4c1a61016e05 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Wed, 3 Jan 2024 10:44:40 +0000 Subject: [PATCH] Create a 2.6.2 release --- application/config/migration.php | 2 +- application/migrations/169_tag_2_6_2.php | 30 ++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 application/migrations/169_tag_2_6_2.php diff --git a/application/config/migration.php b/application/config/migration.php index f19a5dbd6..9960027bc 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -22,7 +22,7 @@ | */ -$config['migration_version'] = 168; +$config['migration_version'] = 169; /* |-------------------------------------------------------------------------- diff --git a/application/migrations/169_tag_2_6_2.php b/application/migrations/169_tag_2_6_2.php new file mode 100644 index 000000000..4c9533011 --- /dev/null +++ b/application/migrations/169_tag_2_6_2.php @@ -0,0 +1,30 @@ +db->where('option_name', 'version'); + $this->db->update('options', array('option_value' => '2.6.2')); + + // 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.1')); + } +} \ No newline at end of file