mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
7 lines
No EOL
289 B
Bash
Executable file
7 lines
No EOL
289 B
Bash
Executable file
#!/bin/bash
|
|
|
|
psql --host $PG_HOST -U $PG_USER -d $PG_DB -c "CREATE USER app_user WITH PASSWORD 'app_pass';"
|
|
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;"
|
|
echo "granted omnivore_user to app_user" |