Skip to content

Commit

Permalink
portable dump
Browse files Browse the repository at this point in the history
  • Loading branch information
AronNovak committed Feb 22, 2024
1 parent f5d78ba commit 20ca38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IHP/Makefile.dist
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ dump_db: ## Saves the current database state into the Fixtures.sql
pg_dump -a --inserts --column-inserts --disable-triggers -h $$PWD/build/db app | sed -e '/^--/d' > Application/Fixtures.sql

sql_dump: ## Saves the current database state, so it can dumped into an SQL file `make sql_dump > dump.sql`
@pg_dump -h $$PWD/build/db app | sed -e '/^--/d'
@pg_dump --no-owner --no-acl -h $$PWD/build/db app | sed -e '/^--/d'

build/Generated/Types.hs: Application/Schema.sql ## Rebuilds generated types
mkdir -p build/Generated
Expand Down

0 comments on commit 20ca38e

Please sign in to comment.