From 85b8249a718b3dee7bfe846b04aeb163600b0d3a Mon Sep 17 00:00:00 2001 From: till_schuetze Date: Tue, 19 Nov 2024 17:30:31 +0100 Subject: [PATCH] Update README.md for db dump creation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 681dc435..a555641b 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Be aware that you need to manually insert the `{DB_*}` values beforehand. ```bash cd development -docker compose exec db sh -c 'pg_dump --dbname=postgresql://{DB_USERNAME}:{DB_PASSWORD}@{DB_HOST}:5432/{DB_DATABASE} --data-only --exclude-table asset_user --exclude-table workgroups_on_users --exclude-table _prisma_migrations -n public > /dump.sql' +docker compose exec db sh -c 'pg_dump --dbname=postgresql://{DB_USERNAME}:{DB_PASSWORD}@{DB_HOST}:5432/{DB_DATABASE} --data-only --exclude-table asset_user --exclude-table workgroups_on_users --exclude-table _prisma_migrations --exclude-table asset_test --exclude-table asset_user_bak --exclude-table favorite -n public > /dump.sql' ``` > The export will output warnings related to circular foreign-key constraints.