Migration file to fix LOTW url issue

这个提交包含在:
Peter Goodhall 2020-03-12 15:04:42 +00:00
父节点 8b882a8bee
当前提交 13aa9bfe39
共有 2 个文件被更改,包括 23 次插入1 次删除

查看文件

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

查看文件

@ -0,0 +1,22 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Migration_update_lotw_url extends CI_Migration {
public function up()
{
$sql = "UPDATE config SET lotw_download_url = 'https://lotw.arrl.org/lotwuser/lotwreport.adi' WHERE id=1";
$this->db->query($sql);
$sql = "UPDATE config SET lotw_upload_url = 'https://lotw.arrl.org/lotwuser/upload' WHERE id=1";
$this->db->query($sql);
$sql = "UPDATE config SET lotw_login_url = 'https://lotw.arrl.org/lotwuser/default' WHERE id=1";
$this->db->query($sql);
}
public function down()
{
}
}
?>