[Satellites] Change exisiting QSOs to IO-117
这个提交包含在:
父节点
adf23b58c2
当前提交
1e1e8fb1c4
共有 2 个文件被更改,包括 27 次插入 和 1 次删除
|
|
@ -21,7 +21,7 @@ $config['migration_enabled'] = TRUE;
|
|||
| be upgraded / downgraded to.
|
||||
|
|
||||
*/
|
||||
$config['migration_version'] = 105;
|
||||
$config['migration_version'] = 106;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
* This adds an option to enable grid lookup
|
||||
* by location entered
|
||||
*/
|
||||
|
||||
class Migration_change_greencube_to_oscar extends CI_Migration {
|
||||
|
||||
public function up()
|
||||
{
|
||||
$this->db->set('COL_SAT_NAME', 'IO-117');
|
||||
$this->db->set('COL_SAT_MODE', 'U');
|
||||
$this->db->where('COL_SAT_NAME', 'GREENCUBE');
|
||||
$this->db->update($this->config->item('table_name'));
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
$this->db->set('COL_SAT_NAME', 'GREENCUBE');
|
||||
$this->db->where('COL_SAT_NAME', 'IO-117');
|
||||
$this->db->update($this->config->item('table_name'));
|
||||
}
|
||||
}
|
||||
正在加载…
在新工单中引用