From 6a25c2ed0fae1700ded3162635639a3e8ad2244b Mon Sep 17 00:00:00 2001 From: 5lliot Date: Thu, 19 Oct 2023 01:35:54 +0700 Subject: [PATCH] fix: local_test.sh --- db_scripts/local_testing/local_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_scripts/local_testing/local_test.sh b/db_scripts/local_testing/local_test.sh index a905b62a..4b25c8c0 100644 --- a/db_scripts/local_testing/local_test.sh +++ b/db_scripts/local_testing/local_test.sh @@ -35,7 +35,7 @@ set -e # psql -U $SUPERUSER -d sample < db_scripts/local_testing/missing_table_from_download_db.sql psql -U $SUPERUSER -d sample < $PARENT_DIR/../../migrations/000016_rankings.up.sql -migrate -path ./migrations/ -database "$TDB" up +migrate -path $PARENT_DIR/../../migrations/ -database "$TDB" up psql -U $SUPERUSER -d sample < <(cat $PARENT_DIR/reset_to_blocknum.sql | sed "s/18246321/$FORK_BLOCK/" )