Update setup-dev-environment.md
This commit is contained in:
parent
17e15fd026
commit
d5c9fbea47
@ -281,6 +281,11 @@ do this are located in the `migrations` folder of your local repository.
|
|||||||
ls ~/colouring-london/migrations/*.up.sql 2>/dev/null | while read -r migration; do psql < $migration; done;
|
ls ~/colouring-london/migrations/*.up.sql 2>/dev/null | while read -r migration; do psql < $migration; done;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Again, if you get errors, you may need to manually specify the database name
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ls ~/colouring-london/migrations/*.up.sql 2>/dev/null | while read -r migration; do psql -d <colouringlondondb> < $migration; done;
|
||||||
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
Loading…
Reference in New Issue
Block a user