HEX
Server: LiteSpeed
System: Linux s12873.lon1.stableserver.net 5.14.0-611.11.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 3 09:47:37 EST 2025 x86_64
User: jairicem (1242)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/jairicem/4pfxclusive.ng/app/migrations/301_update301.php
<?php defined('BASEPATH') OR exit('No direct script access allowed');

class Migration_Update301 extends CI_Migration {

    public function up() {
        $mod = array(
            'version' => array( 'name' => 'version', 'type' => 'varchar', 'constraint' => '10' )
        );
        $this->dbforge->modify_column('settings', $mod);
        $add = array(
                'update' => array('type' => 'tinyint', 'constraint' => '1', 'null' => TRUE, 'default' => '0')
        );
        $this->dbforge->add_column('settings', $add);
    }

}