We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c603ba + 63e01a8 commit 692fbf8Copy full SHA for 692fbf8
bootcamp/materials/1-dimensional-data-modeling/README.md
@@ -141,6 +141,12 @@ There are two methods to get Postgres running locally.
141
142
- → This will run the file `data.dump` from inside your psql REPL.
143
144
+- If you did the setup using Option 2, and the tables are not in the database, another solution is to:
145
+
146
+1. Find the container id by running `docker ps` - under CONTAINER ID
147
+2. Go inside the container by executing `docker exec -it <container_name_or_id> bash`
148
+3. Run `pg_restore -U $POSTGRES_USER -d $POSTGRES_DB /docker-entrypoint-initdb.d/data.dump`
149
150
---
151
152
#### 💡 Additional Docker Make commands
0 commit comments