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

class Migration_Update304 extends CI_Migration {

    public function up() {
        $add = array('type' => array('type' => 'VARCHAR', 'constraint' => '20'));
        $this->dbforge->add_column('damage_products', $add);
        $mod = array('user' => array('name' => 'created_by', 'type' => 'INT', 'null' => TRUE));
        $this->dbforge->modify_column('damage_products', $mod);
        $this->dbforge->rename_table('damage_products', 'adjustments');
    }

}