kopia lustrzana https://github.com/magicbug/Cloudlog
				
				
				
			[Migration] Sets version to 2.4.7
							rodzic
							
								
									473532c6b3
								
							
						
					
					
						commit
						59a80efc17
					
				|  | @ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE; | ||||||
| | | | | ||||||
| */ | */ | ||||||
| 
 | 
 | ||||||
| $config['migration_version'] = 136; | $config['migration_version'] = 137; | ||||||
| 
 | 
 | ||||||
| /* | /* | ||||||
| |-------------------------------------------------------------------------- | |-------------------------------------------------------------------------- | ||||||
|  |  | ||||||
|  | @ -0,0 +1,24 @@ | ||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
|  | 
 | ||||||
|  | /* | ||||||
|  | *   Tag Cloudlog as 2.4.7 | ||||||
|  | */ | ||||||
|  | 
 | ||||||
|  | class Migration_tag_2_4_7 extends CI_Migration { | ||||||
|  | 
 | ||||||
|  |     public function up() | ||||||
|  |     { | ||||||
|  |      | ||||||
|  |         // Tag Cloudlog 2.4.7
 | ||||||
|  |         $this->db->where('option_name', 'version'); | ||||||
|  |         $this->db->update('options', array('option_value' => '2.4.7')); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     public function down() | ||||||
|  |     { | ||||||
|  |         $this->db->where('option_name', 'version'); | ||||||
|  |         $this->db->update('options', array('option_value' => '2.4.6')); | ||||||
|  |     } | ||||||
|  | } | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 Peter Goodhall
						Peter Goodhall