# Create the GMG user
sudo -H -u postgres psql -c "UPDATE pg_database SET datistemplate = FALSE WHERE datname = 'template1'"
sudo -H -u postgres psql -c "DROP DATABASE template1"
# Create the GMG user
sudo -H -u postgres psql -c "UPDATE pg_database SET datistemplate = FALSE WHERE datname = 'template1'"
sudo -H -u postgres psql -c "DROP DATABASE template1"