kopia lustrzana https://github.com/magicbug/Cloudlog
Tag Cloudlog as 2.4.10
rodzic
8eebe34d19
commit
e7a6eb6c0e
|
@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$config['migration_version'] = 143;
|
$config['migration_version'] = 144;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Tag Cloudlog as 2.4.10
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Migration_tag_2_4_10 extends CI_Migration {
|
||||||
|
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
|
||||||
|
// Tag Cloudlog 2.4.10
|
||||||
|
$this->db->where('option_name', 'version');
|
||||||
|
$this->db->update('options', array('option_value' => '2.4.10'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
$this->db->where('option_name', 'version');
|
||||||
|
$this->db->update('options', array('option_value' => '2.4.9'));
|
||||||
|
}
|
||||||
|
}
|
Ładowanie…
Reference in New Issue