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

pull/2648/head
Peter Goodhall 2023-11-01 16:01:18 +00:00
rodzic 37f267a91f
commit 36ab996848
2 zmienionych plików z 18 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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
}
}