load->library('migration'); if ($this->migration->current() === false) { show_error($this->migration->error_string()); } else { echo "Database updated successfully."; } } }