protected function setVersion($name) { $this->db->insert(Nano_Migrate::VERSION_TABLE, array('version' => $name)); }