Add migration script for connections in database