Update setup-dev-environment.md

This commit is contained in:
Mike Simpson 2022-11-08 20:10:26 +00:00 committed by GitHub
parent f595b4c20f
commit 17e15fd026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -267,6 +267,11 @@ In your Ubuntu installation where you have been running these setup steps (e.g.
psql < <dumpfile> psql < <dumpfile>
``` ```
Alternatively, if you get errors using the above command, use pg_restore:
```bash
pg_restore -d <colouringlondondb> <dumpfile>
```
#### Run migrations #### Run migrations
Now run all 'up' migrations to create tables, data types, indexes etc. The `.sql` scripts to Now run all 'up' migrations to create tables, data types, indexes etc. The `.sql` scripts to