Skip to content

Commit

Permalink
tag 2.6.16
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbug committed Oct 3, 2024
1 parent 4ca1b80 commit 0c55dd6
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'] = 187;
$config['migration_version'] = 188;

/*
|--------------------------------------------------------------------------
Expand Down
30 changes: 30 additions & 0 deletions application/migrations/188_tag_2_6_16.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.16
*/

class Migration_tag_2_6_16 extends CI_Migration {

public function up()
{

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

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

0 comments on commit 0c55dd6

Please sign in to comment.