[Migration] Tag release as 2.4.11

pull/2606/head
Peter Goodhall 2023-10-22 13:53:53 +01:00
rodzic ecbcb26e37
commit 10f7f9ca6e
2 zmienionych plików z 25 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

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