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/bunkerltd.com/app/migrations/302_update302.php
<?php defined('BASEPATH') OR exit('No direct script access allowed');

class Migration_Update302 extends CI_Migration {

    public function up() {
        $add = array(
                'unit_price' => array('type' => 'decimal', 'constraint' => '25,5', 'null' => TRUE)
        );
        $this->dbforge->add_column('combo_items', $add);
        $add = array(
            'expense_prefix' => array('type' => 'varchar', 'constraint' => '20', 'null' => TRUE)
        );
        $this->dbforge->add_column('settings', $add);
        $add = array(
            'ex' => array('type' => 'int', 'constraint' => '11', 'default' => 1)
        );
        $this->dbforge->add_column('order_ref', $add);
    }

}