db2graphql
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "db2graphql", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Generate Graphql schema based on existing relational database", | ||
@@ -10,3 +10,3 @@ "main": "index.js", | ||
"scripts": { | ||
"demo-db": "sudo psql -h localhost -U postgres -f ./migrations/001.sql db2graphql", | ||
"demo-db": "sudo psql -h localhost -U postgres -f ./demo/database.sql db2graphql", | ||
"start": "node demo", | ||
@@ -13,0 +13,0 @@ "test": "jest", |
@@ -125,4 +125,4 @@ # db2graphql | ||
$ psql -h localhost -U postgres -c "CREATE DATABASE db2graphql" | ||
$ cp connection.example.json connection.json | ||
# Edit connection.json | ||
$ cp demo/connection.example.json demo/connection.json | ||
# Edit demo/connection.json | ||
$ npm run demo-db | ||
@@ -129,0 +129,0 @@ $ npm run start |
139769
42
2142