Set MO-122 and SONATE to upload to LoTW
这个提交包含在:
父节点
1feca1d29c
当前提交
7fdf83cc36
共有 4 个文件被更改,包括 36 次插入 和 1 次删除
|
|
@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$config['migration_version'] = 188;
|
$config['migration_version'] = 190;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -993,6 +993,7 @@ class Lotw extends CI_Controller {
|
||||||
"TEVEL7" => "TEVEL-7",
|
"TEVEL7" => "TEVEL-7",
|
||||||
"TEVEL8" => "TEVEL-8",
|
"TEVEL8" => "TEVEL-8",
|
||||||
"INSPR7" => "INSPIRE-SAT 7",
|
"INSPR7" => "INSPIRE-SAT 7",
|
||||||
|
"SONATE" => "SONATE-2",
|
||||||
);
|
);
|
||||||
|
|
||||||
return array_search(strtoupper($satname),$arr,true);
|
return array_search(strtoupper($satname),$arr,true);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class Migration_set_MO122_lotw_upload extends CI_Migration
|
||||||
|
{
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
$this->db->set('COL_LOTW_QSL_SENT', 'N');
|
||||||
|
$this->db->where('COL_SAT_NAME', 'MO-122');
|
||||||
|
$this->db->update($this->config->item('table_name'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
// Not Possible
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class Migration_set_SONATE_lotw_upload extends CI_Migration
|
||||||
|
{
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
$this->db->set('COL_LOTW_QSL_SENT', 'N');
|
||||||
|
$this->db->where('COL_SAT_NAME', 'SONATE-2');
|
||||||
|
$this->db->update($this->config->item('table_name'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
// Not Possible
|
||||||
|
}
|
||||||
|
}
|
||||||
正在加载…
在新工单中引用