From 20ca38ed9114a16909d36d7f13654e9ada83416c Mon Sep 17 00:00:00 2001 From: Aron Novak Date: Thu, 22 Feb 2024 06:31:06 +0100 Subject: [PATCH] portable dump --- lib/IHP/Makefile.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/IHP/Makefile.dist b/lib/IHP/Makefile.dist index 2c4c17f58..6a3ca2890 100644 --- a/lib/IHP/Makefile.dist +++ b/lib/IHP/Makefile.dist @@ -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