From b3b9c0ceb6f68fcefefe3e4d085b9eee67d65f05 Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Sun, 10 Mar 2024 12:36:30 +0100 Subject: [PATCH] Update migration --- application/migrations/186_satellite_table.php | 2 ++ assets/js/sections/satellite.js | 1 + 2 files changed, 3 insertions(+) diff --git a/application/migrations/186_satellite_table.php b/application/migrations/186_satellite_table.php index cf94eb314..91ae06525 100644 --- a/application/migrations/186_satellite_table.php +++ b/application/migrations/186_satellite_table.php @@ -62,6 +62,7 @@ class Migration_satellite_table extends CI_Migration { array('name' => 'LEDSAT', 'exportname' => '', 'orbit' => 'LEO'), array('name' => 'Lilacsat-1', 'exportname' => '', 'orbit' => 'LEO'), array('name' => 'MO-112', 'exportname' => '', 'orbit' => 'LEO'), + array('name' => 'NO-44', 'exportname' => '', 'orbit' => 'LEO'), array('name' => 'NO-84', 'exportname' => '', 'orbit' => 'LEO'), array('name' => 'NO-104', 'exportname' => '', 'orbit' => 'LEO'), array('name' => 'PO-101', 'exportname' => '', 'orbit' => 'LEO'), @@ -170,6 +171,7 @@ class Migration_satellite_table extends CI_Migration { $this->db->query("INSERT INTO satellitemode (name, satelliteid, uplink_mode, uplink_freq, downlink_mode, downlink_freq) SELECT 'U/U', id, 'PKT', '435310000', 'PKT', '435190000' FROM satellite WHERE name = 'LEDSAT';"); $this->db->query("INSERT INTO satellitemode (name, satelliteid, uplink_mode, uplink_freq, downlink_mode, downlink_freq) SELECT 'V/U', id, 'FM', '144350000', 'FM', '437200000' FROM satellite WHERE name = 'Lilacsat-1';"); $this->db->query("INSERT INTO satellitemode (name, satelliteid, uplink_mode, uplink_freq, downlink_mode, downlink_freq) SELECT 'V/U', id, 'PKT', '145987500', 'PKT', '436925000' FROM satellite WHERE name = 'MO-112';"); + $this->db->query("INSERT INTO satellitemode (name, satelliteid, uplink_mode, uplink_freq, downlink_mode, downlink_freq) SELECT 'V', id, 'PKT', '145825000', 'PKT', '145825000' FROM satellite WHERE name = 'NO-44';"); $this->db->query("INSERT INTO satellitemode (name, satelliteid, uplink_mode, uplink_freq, downlink_mode, downlink_freq) SELECT 'A/U', id, 'LSB', '28120000', 'FM', '435350000' FROM satellite WHERE name = 'NO-84';"); $this->db->query("INSERT INTO satellitemode (name, satelliteid, uplink_mode, uplink_freq, downlink_mode, downlink_freq) SELECT 'V', id, 'PKT', '145825000', 'PKT', '145825000' FROM satellite WHERE name = 'NO-84';"); $this->db->query("INSERT INTO satellitemode (name, satelliteid, uplink_mode, uplink_freq, downlink_mode, downlink_freq) SELECT 'A/U', id, 'LSB', '29481500', 'FM', '435350000' FROM satellite WHERE name = 'NO-104';"); diff --git a/assets/js/sections/satellite.js b/assets/js/sections/satellite.js index 7320318eb..c071c1f92 100644 --- a/assets/js/sections/satellite.js +++ b/assets/js/sections/satellite.js @@ -86,6 +86,7 @@ function editSatelliteDialog(id) { label: lang_admin_close, action: function (dialogItself) { dialogItself.close(); + location.reload(); } }] });