mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
Set MO-122 and SONATE to upload to LoTW
This commit is contained in:
parent
1feca1d29c
commit
7fdf83cc36
@ -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",
|
||||
"TEVEL8" => "TEVEL-8",
|
||||
"INSPR7" => "INSPIRE-SAT 7",
|
||||
"SONATE" => "SONATE-2",
|
||||
);
|
||||
|
||||
return array_search(strtoupper($satname),$arr,true);
|
||||
|
17
application/migrations/189_set_MO122_lotw_upload.php
Normal file
17
application/migrations/189_set_MO122_lotw_upload.php
Normal file
@ -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
|
||||
}
|
||||
}
|
17
application/migrations/190_set_SONATE_lotw_upload.php
Normal file
17
application/migrations/190_set_SONATE_lotw_upload.php
Normal file
@ -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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user