Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 564 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 564 Bytes

dc-data

the schema and scripts to export the data

Import data

Setup hasura schema

Install Hasura CLI

https://docs.hasura.io/1.0/graphql/manual/hasura-cli/install-hasura-cli.html

Run Migration

Enable PostGIS before running the migrations Navigate to hasura console and run the following SQL

CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;
cd hasura

# config
vi config.yaml

# check migration status
hasura migrate status

# run migration
hasura migrate apply