Reset LoTW upload for LEDSAT

This commit is contained in:
phl0
2023-07-25 11:18:20 +02:00
parent f957ca342e
commit 98477eb449
2 changed files with 18 additions and 1 deletions

View File

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

View File

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