Add migration script for removal of api_port attribute