Skip to content

Commit

Permalink
Fix data restore genesis
Browse files Browse the repository at this point in the history
Signed-off-by: deniallugo <[email protected]>
  • Loading branch information
Deniallugo committed May 27, 2022
1 parent 9d798e7 commit 6fc4d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/data-restore/data-restore-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function reset_db() {
cd core/lib/storage
psql "$DATABASE_URL" -c 'DROP OWNED BY CURRENT_USER CASCADE' || /bin/true
psql "$DATABASE_URL" -c 'DROP SCHEMA IF EXISTS public CASCADE' || /bin/true
psql "$DATABASE_URL" -c 'CREATE SCHEMA public'
psql "$DATABASE_URL" -c 'CREATE SCHEMA public' || /bin/true
diesel database setup
cd $ZKSYNC_HOME
}
Expand Down

0 comments on commit 6fc4d09

Please sign in to comment.