Migration file to fix LOTW url issue
这个提交包含在:
		
							父节点
							
								
									8b882a8bee
								
							
						
					
					
						当前提交
						13aa9bfe39
					
				
					共有  2 个文件被更改,包括 23 次插入 和 1 次删除
				
			
		|  | @ -21,7 +21,7 @@ $config['migration_enabled'] = TRUE; | ||||||
| | be upgraded / downgraded to. | | 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() | ||||||
|  | 	{ | ||||||
|  | 
 | ||||||
|  | 	} | ||||||
|  | } | ||||||
|  | ?>
 | ||||||
		正在加载…
	
		在新工单中引用