mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Unmark unsupported LoTW uploads for INTERNET and RPT QSOs
This commit is contained in:
@@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
||||
|
|
||||
*/
|
||||
|
||||
$config['migration_version'] = 208;
|
||||
$config['migration_version'] = 209;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
defined('BASEPATH') or exit('No direct script access allowed');
|
||||
|
||||
class Migration_unmark_unsupported_lotw_uploads extends CI_Migration
|
||||
{
|
||||
public function up() {
|
||||
|
||||
// Missing in tqsl 2.7.3 config.xml
|
||||
$lotw_unsupported_modes = array('INTERNET', 'RPT');
|
||||
|
||||
$this->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() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user