From 14b67ce72030f2e6b32888e12a4b79aaed8d1b2f Mon Sep 17 00:00:00 2001 From: phl0 Date: Fri, 12 Jul 2024 08:48:42 +0200 Subject: [PATCH] Unmark unsupported LoTW uploads for INTERNET and RPT QSOs --- application/config/migration.php | 2 +- .../209_unmark_unsupported_lotw_uploads.php | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 application/migrations/209_unmark_unsupported_lotw_uploads.php diff --git a/application/config/migration.php b/application/config/migration.php index d18693070..1bbb1a0a6 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE; | */ -$config['migration_version'] = 208; +$config['migration_version'] = 209; /* |-------------------------------------------------------------------------- diff --git a/application/migrations/209_unmark_unsupported_lotw_uploads.php b/application/migrations/209_unmark_unsupported_lotw_uploads.php new file mode 100644 index 000000000..2149334b0 --- /dev/null +++ b/application/migrations/209_unmark_unsupported_lotw_uploads.php @@ -0,0 +1,17 @@ +db->where_in('COL_PROP_MODE', $lotw_unsupported_modes); + $this->db->update($this->config->item('table_name'), array('COL_LOTW_QSLSDATE' => null, 'COL_LOTW_QSL_SENT' => 'N')); + } + + public function down() { + } +}