mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 17:52:16 +00:00
[Migration] Set INSPIRE-SAT 7 sat qsos to reupload to lotw
This commit is contained in:
parent
37f267a91f
commit
36ab996848
@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
||||
|
|
||||
*/
|
||||
|
||||
$config['migration_version'] = 148;
|
||||
$config['migration_version'] = 149;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
17
application/migrations/149_reupload_inspiresat7_qsos.php
Normal file
17
application/migrations/149_reupload_inspiresat7_qsos.php
Normal 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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user