[Migration] Set INSPIRE-SAT 7 sat qsos to reupload to lotw

This commit is contained in:
Peter Goodhall 2023-11-01 16:01:18 +00:00
parent 37f267a91f
commit 36ab996848
2 changed files with 18 additions and 1 deletions

View File

@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
*/
$config['migration_version'] = 148;
$config['migration_version'] = 149;
/*
|--------------------------------------------------------------------------

View File

@ -0,0 +1,17 @@
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Migration_reupload_inspiresat7_qsos extends CI_Migration
{
public function up()
{
$this->db->set('COL_LOTW_QSL_SENT', 'N');
$this->db->where('COL_SAT_NAME', 'INSPIRE-SAT 7');
$this->db->update($this->config->item('table_name'));
}
public function down()
{
// Not Possible
}
}