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

class Migration_change_nisn extends CI_Migration {

	public function up() {
        $fields = [
            'nisn' => [
                'type' => 'VARCHAR',
                'constraint' => 20,
                'default' => ''
            ]
        ];

        $this->dbforge->modify_column('master_siswa', $fields);
	 }
}