Reupload IO-117 and FO-118 QSOs to LotW

This commit is contained in:
phl0
2022-12-21 21:24:35 +01:00
parent 507adcea62
commit 08f08d2e9a
2 changed files with 22 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ $config['migration_enabled'] = TRUE;
| be upgraded / downgraded to.
|
*/
$config['migration_version'] = 110;
$config['migration_version'] = 111;
/*
|--------------------------------------------------------------------------

View File

@@ -0,0 +1,21 @@
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Migration_reupload_io117_and_fo118.php extends CI_Migration
{
public function up()
{
$this->db->set('COL_LOTW_QSL_SENT', 'N');
$this->db->where('COL_SAT_NAME', 'IO-117');
$this->db->update($this->config->item('table_name'));
$this->db->set('COL_LOTW_QSL_SENT', 'N');
$this->db->where('COL_SAT_NAME', 'FO-118');
$this->db->update($this->config->item('table_name'));
}
public function down()
{
// Not Possible
}
}