Notes on database provision
This commit is contained in:
parent
990e4241cf
commit
2db0077133
13
migrations/README.md
Normal file
13
migrations/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
# Database details
|
||||
|
||||
Initial setup, on first connection (replacing hostname and username):
|
||||
|
||||
```bash
|
||||
$ psql "host={hostname} user={username} port=5432 sslmode=require dbname=postgres"
|
||||
> create database colouringlondon;
|
||||
> \c colouringlondon
|
||||
> create extension postgis;
|
||||
> create extension pgcrypto;
|
||||
> \q
|
||||
$ psql "host={hostname} user={username} port=5432 sslmode=require dbname=colouringlondon" < 001.create-core.up.sql
|
||||
```
|
Loading…
Reference in New Issue
Block a user