ALTER AUTHORIZATION ON DATABASE:: 'EnterYourDatabaseNameHere' TO valid_login

EXEC sp_dbcmptlevel 'EnterYourDatabaseNameHere', '90';