Skip to content

Commit

Permalink
tag 2.6.12
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbug committed May 14, 2024
1 parent 314c42e commit 62a83c6
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'] = 181;
$config['migration_version'] = 182;

/*
|--------------------------------------------------------------------------
Expand Down
30 changes: 30 additions & 0 deletions application/migrations/182_tag_2_6_12.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.12
*/

class Migration_tag_2_6_12 extends CI_Migration {

public function up()
{

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

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

0 comments on commit 62a83c6

Please sign in to comment.