Skip to content

Commit

Permalink
oppdaterer db-script
Browse files Browse the repository at this point in the history
  • Loading branch information
SiLar92 committed Nov 13, 2024
1 parent 1e96f6e commit 6eae4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ while getopts 'hif' opt; do
docker-compose up postgres -d
sleep 3
DB_DUMP=/tmp/db_script.sql
curl -o $DB_DUMP https://raw.githubusercontent.com/navikt/lydia-api/main/scripts/db/lydia-api-container-db_localhost-2024_10_24_16_39_14-dump.sql
curl -o $DB_DUMP https://raw.githubusercontent.com/navikt/lydia-api/main/scripts/db/lydia-api-container-db_localhost-2024_11_13_12_42_52-dump.sql
PGPASSWORD=test psql -h localhost -p 5432 -U postgres -f $DB_DUMP > /dev/null
rm $DB_DUMP
sleep 1
Expand Down

0 comments on commit 6eae4b0

Please sign in to comment.