[Sats] Change CAS-9 QSOs to HO-113 and set LoTW Sent to N
这个提交包含在:
		
							父节点
							
								
									a0645996a2
								
							
						
					
					
						当前提交
						59e4ea0316
					
				
					共有  2 个文件被更改,包括 19 次插入 和 1 次删除
				
			
		|  | @ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE; | |||
| | | ||||
| */ | ||||
| 
 | ||||
| $config['migration_version'] = 79; | ||||
| $config['migration_version'] = 80; | ||||
| 
 | ||||
| /* | ||||
| |-------------------------------------------------------------------------- | ||||
|  |  | |||
|  | @ -0,0 +1,18 @@ | |||
| <?php | ||||
| defined('BASEPATH') or exit('No direct script access allowed'); | ||||
| 
 | ||||
| class Migration_update_cas9_qsos extends CI_Migration | ||||
| { | ||||
| 	public function up() | ||||
| 	{ | ||||
|         $this->db->set('COL_SAT_NAME', 'HO-113'); | ||||
|         $this->db->set('COL_LOTW_QSL_SENT', 'N'); | ||||
|         $this->db->where('COL_SAT_NAME', 'CAS-9'); | ||||
|         $this->db->update($this->config->item('table_name')); // gives UPDATE `mytable` SET `field` = 'field+1' WHERE `id` = 2
 | ||||
| 	} | ||||
| 
 | ||||
| 	public function down() | ||||
| 	{ | ||||
|         // Not Possible
 | ||||
| 	} | ||||
| } | ||||
		正在加载…
	
		在新工单中引用