diff --git a/application/config/migration.php b/application/config/migration.php index 6e6072fa..a16f0abb 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE; | */ -$config['migration_version'] = 188; +$config['migration_version'] = 190; /* |-------------------------------------------------------------------------- diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index 8b9ccfc9..4122861c 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -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); diff --git a/application/migrations/189_set_MO122_lotw_upload.php b/application/migrations/189_set_MO122_lotw_upload.php new file mode 100644 index 00000000..197d77b1 --- /dev/null +++ b/application/migrations/189_set_MO122_lotw_upload.php @@ -0,0 +1,17 @@ +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 + } +} diff --git a/application/migrations/190_set_SONATE_lotw_upload.php b/application/migrations/190_set_SONATE_lotw_upload.php new file mode 100644 index 00000000..521d090c --- /dev/null +++ b/application/migrations/190_set_SONATE_lotw_upload.php @@ -0,0 +1,17 @@ +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 + } +}