/dc-data

the schema and scripts to export the data

Primary LanguageJavaScript

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