[Migration] Tag release as 2.4.11

This commit is contained in:
Peter Goodhall
2023-10-22 13:53:53 +01:00
parent ecbcb26e37
commit 10f7f9ca6e
2 changed files with 25 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
*/
$config['migration_version'] = 146;
$config['migration_version'] = 147;
/*
|--------------------------------------------------------------------------

View File

@@ -0,0 +1,24 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
* Tag Cloudlog as 2.4.11
*/
class Migration_tag_2_4_11 extends CI_Migration {
public function up()
{
// Tag Cloudlog 2.4.11
$this->db->where('option_name', 'version');
$this->db->update('options', array('option_value' => '2.4.11'));
}
public function down()
{
$this->db->where('option_name', 'version');
$this->db->update('options', array('option_value' => '2.4.10'));
}
}