[Migration] Tag Cloudlog as 2.5.0

这个提交包含在:
Peter Goodhall 2023-11-03 12:42:56 +00:00
父节点 a65112d37d
当前提交 6a75a4ed94
共有 2 个文件被更改,包括 25 次插入1 次删除

查看文件

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

查看文件

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