colouring-montreal/migrations
2018-08-01 14:17:20 +01:00
..
001.create-core.up.sql SQL scripts for database setup 2018-07-17 09:03:38 +01:00
001.drop-core.down.sql SQL scripts for database setup 2018-07-17 09:03:38 +01:00
README.md Notes on database provision 2018-08-01 14:17:20 +01:00

Database details

Initial setup, on first connection (replacing hostname and username):

$ 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