Last active
August 29, 2015 14:16
-
-
Save jennyq/71d1c4b69f8806c40074 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
sql="update articles_article set timezone='US/Hawaii' where timezone='US/Hawaii: HST';" | |
sudo -u postgres psql -d tendenci_site -c "$sql" | |
sql="update news_news set timezone='US/Hawaii' where timezone='US/Hawaii: HST';" | |
sudo -u postgres psql -d tendenci_site -c "$sql" | |
sql="update directories_directory set timezone='US/Hawaii' where timezone='US/Hawaii: HST';" | |
sudo -u postgres psql -d tendenci_site -c "$sql" | |
sql="update events_event set timezone='US/Hawaii' where timezone='US/Hawaii: HST';" | |
sudo -u postgres psql -d tendenci_site -c "$sql" | |
sql="update profiles_profile set time_zone='US/Hawaii' where time_zone='US/Hawaii: HST';" | |
sudo -u postgres psql -d tendenci_site -c "$sql" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment