From bf6680ecbe360ef1eaf004ca3e799330ec2ff82a Mon Sep 17 00:00:00 2001 From: Rikard Bartholf Date: Tue, 14 Jun 2022 17:25:59 +0200 Subject: [PATCH] Cleanup --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 228196f..aab22a9 100644 --- a/README.md +++ b/README.md @@ -47,5 +47,10 @@ To write new inserts into the DB generate sql files with js in the src/**test**/ When you have the data you need in the db, write tests in all.test.ts file following the pattern already set. ---- -pg_dump -U postgres --schema-only --no-owner --no-acl photowall > src/__test__/db/schema.sql +### Dump database scheme + +pg_dump -U postgres \ + --schema-only \ + --no-owner \ + --no-acl \ + photowall > src/__test__/db/schema.sql