From 0c55dd6bf498100aa01ae0415f9ddfbbd6320d64 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Thu, 3 Oct 2024 15:21:47 +0100 Subject: [PATCH] tag 2.6.16 --- application/config/migration.php | 2 +- application/migrations/188_tag_2_6_16.php | 30 +++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 application/migrations/188_tag_2_6_16.php diff --git a/application/config/migration.php b/application/config/migration.php index 4e802368f..6e6072fac 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -22,7 +22,7 @@ | */ -$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 000000000..02c57fc79 --- /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