Skip to content

Commit

Permalink
stable 2.6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbug committed Apr 21, 2024
1 parent d169298 commit 9bbda9b
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'] = 178;
$config['migration_version'] = 179;

/*
|--------------------------------------------------------------------------
Expand Down
30 changes: 30 additions & 0 deletions application/migrations/179_tag_2_6_10.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.10
*/

class Migration_tag_2_6_10 extends CI_Migration {

public function up()
{

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

// 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.9'));
}
}

0 comments on commit 9bbda9b

Please sign in to comment.