Skip to content

Commit

Permalink
Tag 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbug committed Nov 14, 2023
1 parent 0325d5c commit 6ab636a
Show file tree
Hide file tree
Showing 2 changed files with 25 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'] = 151;
$config['migration_version'] = 152;

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

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

/*
* Tag Cloudlog as 2.5.1
*/

class Migration_tag_2_5_1 extends CI_Migration {

public function up()
{

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

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

0 comments on commit 6ab636a

Please sign in to comment.