Skip to content

Commit

Permalink
Migration to tag as 2.4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbug committed Sep 13, 2023
1 parent 2850213 commit 407eacc
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'] = 142;
$config['migration_version'] = 143;

/*
|--------------------------------------------------------------------------
Expand Down
24 changes: 24 additions & 0 deletions application/migrations/143_tag_2_4_9.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.4.9
*/

class Migration_tag_2_4_9 extends CI_Migration {

public function up()
{

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

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

0 comments on commit 407eacc

Please sign in to comment.