[Migration] Sets version to 2.4.7
这个提交包含在:
父节点
473532c6b3
当前提交
59a80efc17
共有 2 个文件被更改,包括 25 次插入 和 1 次删除
|
|
@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
|||
|
|
||||
*/
|
||||
|
||||
$config['migration_version'] = 136;
|
||||
$config['migration_version'] = 137;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
* Tag Cloudlog as 2.4.7
|
||||
*/
|
||||
|
||||
class Migration_tag_2_4_7 extends CI_Migration {
|
||||
|
||||
public function up()
|
||||
{
|
||||
|
||||
// Tag Cloudlog 2.4.7
|
||||
$this->db->where('option_name', 'version');
|
||||
$this->db->update('options', array('option_value' => '2.4.7'));
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
$this->db->where('option_name', 'version');
|
||||
$this->db->update('options', array('option_value' => '2.4.6'));
|
||||
}
|
||||
}
|
||||
正在加载…
在新工单中引用