Moving a Wordpress site

Run the following to command with wp-cli to update all urls in the database:

wp search-replace --url=https://domain.live 'https://domain.live' 'http://domain.dev' --recurse-objects --network --skip-columns=guid
wp search-replace --url=https://domain.live 'domain.live' 'domain.dev' --recurse-objects --network --skip-columns=guid