Skip to content

Commit

Permalink
Oppdater SQL dump fil til lokal kjøring
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdufourd committed Sep 26, 2023
1 parent 3b5192f commit 1eceefd
Show file tree
Hide file tree
Showing 2 changed files with 2,966 additions and 2,968 deletions.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

./gradlew build -x test
docker-compose up -d
curl -o db_script.sql https://raw.githubusercontent.com/navikt/lydia-api/main/scripts/db/lydia_api_container_db_localhost-2023_09_20_15_47_08-dump.sql
curl -o db_script.sql https://raw.githubusercontent.com/navikt/lydia-api/main/scripts/db/lydia_api_container_db_localhost-2023_09_26_08_44_36-dump.sql
sleep 3
PGPASSWORD=test psql -h localhost -p 5432 -U postgres -f db_script.sql > /dev/null
rm db_script.sql
Loading

0 comments on commit 1eceefd

Please sign in to comment.