From aae896e660a99bcf61795c9788d2291270a3e079 Mon Sep 17 00:00:00 2001 From: Sanjay Muthu Date: Sat, 25 Jan 2025 20:06:35 +0530 Subject: [PATCH 1/2] Updated dimensional-data-modeling Changed pg_restore -U user -d postgres data.dump into pg_restore -c --if-exists -U user -d postgres data.dump --- bootcamp/materials/1-dimensional-data-modeling/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootcamp/materials/1-dimensional-data-modeling/README.md b/bootcamp/materials/1-dimensional-data-modeling/README.md index 5a6ec748..d7858d79 100644 --- a/bootcamp/materials/1-dimensional-data-modeling/README.md +++ b/bootcamp/materials/1-dimensional-data-modeling/README.md @@ -47,7 +47,7 @@ There are two methods to get Postgres running locally. 2. Run this command after replacing **``** with your computer's username: ```bash - pg_restore -U -d postgres data.dump + pg_restore -c --if-exists -U user -d postgres data.dump ``` If you have any issue, the syntax is `pg_restore -U [username] -d [database_name] -h [host] -p [port] [backup_file]` From a267ec14068bba3e18b78cabb21113f173fcb7c8 Mon Sep 17 00:00:00 2001 From: Sanjay Muthu Date: Sat, 25 Jan 2025 20:12:00 +0530 Subject: [PATCH 2/2] Update README.md --- bootcamp/materials/1-dimensional-data-modeling/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootcamp/materials/1-dimensional-data-modeling/README.md b/bootcamp/materials/1-dimensional-data-modeling/README.md index d7858d79..8b59dd49 100644 --- a/bootcamp/materials/1-dimensional-data-modeling/README.md +++ b/bootcamp/materials/1-dimensional-data-modeling/README.md @@ -47,7 +47,7 @@ There are two methods to get Postgres running locally. 2. Run this command after replacing **``** with your computer's username: ```bash - pg_restore -c --if-exists -U user -d postgres data.dump + pg_restore -c --if-exists -U -d postgres data.dump ``` If you have any issue, the syntax is `pg_restore -U [username] -d [database_name] -h [host] -p [port] [backup_file]`