[Migration] Tag Cloudlog as 2.5.0

pull/2649/head
Peter Goodhall 2023-11-03 12:42:56 +00:00
rodzic a65112d37d
commit 6a75a4ed94
2 zmienionych plików z 25 dodań i 1 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
*/
$config['migration_version'] = 149;
$config['migration_version'] = 150;
/*
|--------------------------------------------------------------------------

Wyświetl plik

@ -0,0 +1,24 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
* Tag Cloudlog as 2.5.0
*/
class Migration_tag_2_5_0 extends CI_Migration {
public function up()
{
// Tag Cloudlog 2.5.0
$this->db->where('option_name', 'version');
$this->db->update('options', array('option_value' => '2.5.0'));
}
public function down()
{
$this->db->where('option_name', 'version');
$this->db->update('options', array('option_value' => '2.4.11'));
}
}