Last active
December 9, 2022 19:53
-
-
Save kraken-chris/e4049237645489578c9aef68d36f75cd to your computer and use it in GitHub Desktop.
Update base urls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update "local_url" with the value of WARDEN_ENV_NAME | |
SET @localUrl = "{{local_url}}"; | |
SET @scope = 0; #update scope if needed for each website/store | |
UPDATE | |
core_config_data | |
SET | |
`value` = concat("https://app.", @localUrl, ".test/") | |
WHERE | |
path LIKE "web/%/base_url" | |
AND scope_id = @scope; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment