[SAT] Change Sat names stored as XW-3(CAS-9) to HO-113

这个提交包含在:
Peter Goodhall 2022-01-04 11:27:36 +00:00
父节点 c7a718c337
当前提交 1e4f6283e0
共有 2 个文件被更改,包括 19 次插入1 次删除

查看文件

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

查看文件

@ -0,0 +1,18 @@
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Migration_update_xw2_qsos extends CI_Migration
{
public function up()
{
$this->db->set('COL_SAT_NAME', 'HO-113');
$this->db->set('COL_LOTW_QSL_SENT', 'N');
$this->db->where('COL_SAT_NAME', 'XW-3(CAS-9)');
$this->db->update($this->config->item('table_name'));
}
public function down()
{
// Not Possible
}
}