Skip to content

Commit

Permalink
Create a 2.6.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbug committed Jan 3, 2024
1 parent bde093f commit f073e3c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion application/config/migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
|
*/

$config['migration_version'] = 168;
$config['migration_version'] = 169;

/*
|--------------------------------------------------------------------------
Expand Down
30 changes: 30 additions & 0 deletions application/migrations/169_tag_2_6_2.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

defined('BASEPATH') OR exit('No direct script access allowed');

/*
* Tag Cloudlog as 2.6.2
*/

class Migration_tag_2_6_2 extends CI_Migration {

public function up()
{

// Tag Cloudlog 2.6.2
$this->db->where('option_name', 'version');
$this->db->update('options', array('option_value' => '2.6.2'));

// Trigger Version Info Dialog
$this->db->where('option_type', 'version_dialog');
$this->db->where('option_name', 'confirmed');
$this->db->update('user_options', array('option_value' => 'false'));

}

public function down()
{
$this->db->where('option_name', 'version');
$this->db->update('options', array('option_value' => '2.6.1'));
}
}

0 comments on commit f073e3c

Please sign in to comment.