Postgres

Importing Data into …

If you’re using Postgres as a database and need to import data from a .csv file, it’s really easy to do using psql. Before you start, you’l need: psql running in an interactive terminal A Postgres database with a table you want to import data, we’ll call it user_data Data in …

Populating a PostgreSQL …

When using Docker, Docker Compose, etc. I’ve found that trying to populate a database by mounting a volume containing the necessary .sql files doesn’t always work. If you’re using PostgreSQL and developing locally, here is a quick command to seed (re-seed) your database. In your …