From 7ff122431fa30235a2e7481914ae6b2692b74028 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Wed, 29 May 2024 15:29:00 +0100 Subject: [PATCH] tag 2.6.14 --- application/config/migration.php | 2 +- application/migrations/185_tag_2_6_14.php | 30 +++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 application/migrations/185_tag_2_6_14.php diff --git a/application/config/migration.php b/application/config/migration.php index ad5f2d9e3..c52d5d72d 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -22,7 +22,7 @@ | */ -$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 000000000..b59990055 --- /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