public function migrate() { $this->db->beginTransaction(); $migrateUp = $this->up(); $this->db->commit(); return $migrateUp; }