diff --git a/packages/db/setup.sh b/packages/db/setup.sh index d91340cab..83d1cd09f 100755 --- a/packages/db/setup.sh +++ b/packages/db/setup.sh @@ -1,9 +1,9 @@ #!/bin/bash -psql --host $PG_HOST -U $PG_USER -d $PG_DB -c "CREATE USER app_user WITH PASSWORD 'app_pass';" +psql --host $PG_HOST -U $PG_USER -d $PG_DB -c "CREATE USER app_user WITH PASSWORD 'app_pass';" || true echo "created app_user" yarn workspace @omnivore/db migrate -psql --host $PG_HOST -U $PG_USER -d $PG_DB -c "GRANT omnivore_user TO app_user;" +psql --host $PG_HOST -U $PG_USER -d $PG_DB -c "GRANT omnivore_user TO app_user;" || true echo "granted omnivore_user to app_user" # create demo user with email: demo@omnivore.app, password: demo