Refactored app.js and index.js to follow hasura examples of managing state. Now using hooks for user auth and only user auth.

This commit is contained in:
Patrick Fic
2019-12-05 21:03:40 -08:00
parent b44714eb59
commit 2842af38b7
23 changed files with 696 additions and 554 deletions

View File

@@ -0,0 +1,3 @@
- args:
sql: DROP TABLE "public"."masterdata"
type: run_sql

View File

@@ -0,0 +1,8 @@
- args:
sql: CREATE TABLE "public"."masterdata"("key" text NOT NULL, "value" jsonb NOT
NULL, PRIMARY KEY ("key") , UNIQUE ("key"));
type: run_sql
- args:
name: masterdata
schema: public
type: add_existing_table_or_view