In order to change the owner of a database, we do the following:

ALTER DATABASE nameOfDatabase OWNER to newOwner;