UPDATE wp_options SET option_value = REPLACE(option_value, 'http://test.swat.one', 'https://swat.one') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET post_content = REPLACE (post_content, 'http://test.swat.one', 'https://swat.one');
UPDATE wp_postmeta SET meta_value = REPLACE (meta_value, 'http://test.swat.one','https://swat.one');