Rename CAS-5A to FO-118
这个提交包含在:
父节点
ee14821e59
当前提交
c93a32da8b
共有 2 个文件被更改,包括 20 次插入 和 1 次删除
|
|
@ -21,7 +21,7 @@ $config['migration_enabled'] = TRUE;
|
|||
| be upgraded / downgraded to.
|
||||
|
|
||||
*/
|
||||
$config['migration_version'] = 109;
|
||||
$config['migration_version'] = 110;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
defined('BASEPATH') or exit('No direct script access allowed');
|
||||
|
||||
class Migration_rename_cas5a extends CI_Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
$this->db->set('COL_SAT_NAME', 'FO-118');
|
||||
$this->db->where('COL_SAT_NAME', 'CAS-5A');
|
||||
$this->db->update($this->config->item('table_name'));
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
$this->db->set('COL_SAT_NAME', 'CAS-5A');
|
||||
$this->db->where('COL_SAT_NAME', 'FO-118');
|
||||
$this->db->update($this->config->item('table_name'));
|
||||
}
|
||||
}
|
||||
正在加载…
在新工单中引用