From a0e5d0c41cfd8431412bce4e2155def6e5a86e59 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Wed, 26 Jun 2024 15:31:18 +0100 Subject: [PATCH] tag 2.6.15 --- application/config/migration.php | 2 +- application/migrations/186_tag_2_6_15.php | 30 +++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 application/migrations/186_tag_2_6_15.php diff --git a/application/config/migration.php b/application/config/migration.php index c52d5d72..574240d6 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE; | */ -$config['migration_version'] = 185; +$config['migration_version'] = 186; /* |-------------------------------------------------------------------------- diff --git a/application/migrations/186_tag_2_6_15.php b/application/migrations/186_tag_2_6_15.php new file mode 100644 index 00000000..2e4b4df5 --- /dev/null +++ b/application/migrations/186_tag_2_6_15.php @@ -0,0 +1,30 @@ +db->where('option_name', 'version'); + $this->db->update('options', array('option_value' => '2.6.15')); + + // 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.14')); + } +} \ No newline at end of file