Skip to content
forked from nandiheath/dc-data

the schema and scripts to export the data

Notifications You must be signed in to change notification settings

th-chau/dc-data

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

the schema and scripts to export the data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Dockerfile 0.1%