Skip to content

Commit

Permalink
Force db_recreate_dev script to run as postgres user
Browse files Browse the repository at this point in the history
  • Loading branch information
jerodsanto committed Aug 10, 2023
1 parent b685966 commit fdbe863
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/db_recreate_dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -ex

dropdb changelog_dev --if-exists
createdb changelog_dev
psql changelog_dev < $1
dropdb -U postgres changelog_dev --if-exists
createdb -U postgres changelog_dev
psql -U postgres changelog_dev < $1

0 comments on commit fdbe863

Please sign in to comment.