Skip to content

Commit

Permalink
Fix: Change Domain and Hostnames for Review Apps in cleanup.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
AdalbertoMoz committed Jun 18, 2024
1 parent d28dec2 commit 3a4d606
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cleanup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ BEGIN

-- Update the site domain
UPDATE django_site
SET domain = '{DOMAIN}.herokuapp.com'
SET domain = '{DOMAIN}.mofostaging.net'
WHERE domain = 'foundation.mofostaging.net';

UPDATE wagtailcore_site
SET hostname = '{HOSTNAME}.herokuapp.com'
SET hostname = '{HOSTNAME}.mofostaging.net'
WHERE hostname = 'foundation.mofostaging.net';

UPDATE wagtailcore_site
SET hostname = 'mozillafestival.mofostaging.net'
SET hostname = 'mozfest-{HOSTNAME}.mofostaging.net'
WHERE hostname = 'mozillafestival.mofostaging.net';

-- Iterate over each non-staff user and remove any PII
Expand Down

0 comments on commit 3a4d606

Please sign in to comment.