dbforge->add_column('api', $fields); } public function down() { $this->dbforge->drop_column('api', 'user_id'); } }