tables = $authConfig->tables; } public function up() { $fields = [ 'company_id' => [ 'type' => 'INT', 'constraint' => 11, 'unsigned' => true, ], 'employee_id' => [ 'type' => 'VARCHAR', 'constraint' => '20', 'null' => false ], 'display_name' => [ 'type' => 'VARCHAR', 'constraint' => '150', 'null' => false ], ]; $this->forge->addColumn($this->tables['users'], $fields); } public function down() { $fields = [ 'company_id', 'employee_id', 'display_name', ]; $this->forge->dropColumn($this->tables['users'], $fields); } }