kopia lustrzana https://github.com/magicbug/Cloudlog
Merge pull request #1851 from phl0/reUploadFo118iO117
Reupload IO-117 and FO-118 QSOs to LotWpull/1852/head
commit
89956a9eda
|
@ -21,7 +21,7 @@ $config['migration_enabled'] = TRUE;
|
|||
| be upgraded / downgraded to.
|
||||
|
|
||||
*/
|
||||
$config['migration_version'] = 110;
|
||||
$config['migration_version'] = 111;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
defined('BASEPATH') or exit('No direct script access allowed');
|
||||
|
||||
class Migration_reupload_io117_and_fo118 extends CI_Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
$this->db->set('COL_LOTW_QSL_SENT', 'N');
|
||||
$this->db->where('COL_SAT_NAME', 'IO-117');
|
||||
$this->db->update($this->config->item('table_name'));
|
||||
|
||||
$this->db->set('COL_LOTW_QSL_SENT', 'N');
|
||||
$this->db->where('COL_SAT_NAME', 'FO-118');
|
||||
$this->db->update($this->config->item('table_name'));
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
// Not Possible
|
||||
}
|
||||
}
|
Ładowanie…
Reference in New Issue