Rename existing HADES-D QSOs and reupload to LoTW

This commit is contained in:
phl0
2024-01-03 08:51:08 +01:00
parent bd55897be9
commit cac6c2eec4
2 changed files with 19 additions and 1 deletions

View File

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

View File

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