diff --git a/application/config/migration.php b/application/config/migration.php index 574240d6..4e802368 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE; | */ -$config['migration_version'] = 186; +$config['migration_version'] = 187; /* |-------------------------------------------------------------------------- diff --git a/application/migrations/187_MESAT1_to_MO122.php b/application/migrations/187_MESAT1_to_MO122.php new file mode 100644 index 00000000..4908d22f --- /dev/null +++ b/application/migrations/187_MESAT1_to_MO122.php @@ -0,0 +1,28 @@ +db->set('COL_SAT_NAME', 'MESAT1'); + $this->db->where('COL_SAT_NAME', 'MO-122'); + $this->db->update($this->config->item('table_name')); + + $this->db->set('COL_SAT_NAME', 'MESAT-1'); + $this->db->where('COL_SAT_NAME', 'MO-122'); + $this->db->update($this->config->item('table_name')); + } + + public function down() + { + // Not Possible + } + +} \ No newline at end of file diff --git a/assets/json/satellite_data.json b/assets/json/satellite_data.json index ac64e2a9..2da3ede5 100644 --- a/assets/json/satellite_data.json +++ b/assets/json/satellite_data.json @@ -327,18 +327,6 @@ ] } }, - "MESAT-1":{ - "Modes":{ - "V/U":[ - { - "Uplink_Mode":"LSB", - "Uplink_Freq":"145925000", - "Downlink_Mode":"USB", - "Downlink_Freq":"435825000" - } - ] - } - }, "MO-112":{ "Modes":{ "V/U":[ @@ -351,6 +339,18 @@ ] } }, + "MO-122":{ + "Modes":{ + "V/U":[ + { + "Uplink_Mode":"LSB", + "Uplink_Freq":"145925000", + "Downlink_Mode":"USB", + "Downlink_Freq":"435825000" + } + ] + } + }, "NO-44":{ "Modes":{ "V":[