Setup first hasura schema

This commit is contained in:
Charles Bochet
2023-04-14 08:38:35 +02:00
committed by Anders Borch
parent b9d1d80f64
commit 0445c03b51
26 changed files with 92 additions and 25 deletions
+6
View File
@@ -0,0 +1,6 @@
version: 3
endpoint: http://localhost:8080
metadata_directory: metadata
actions:
kind: synchronous
handler_webhook_baseurl: http://localhost:3000
View File
+6
View File
@@ -0,0 +1,6 @@
actions: []
custom_types:
enums: []
input_objects: []
objects: []
scalars: []
+1
View File
@@ -0,0 +1 @@
[]
+1
View File
@@ -0,0 +1 @@
{}
+1
View File
@@ -0,0 +1 @@
{}
+1
View File
@@ -0,0 +1 @@
[]
+9
View File
@@ -0,0 +1,9 @@
- name: twenty
kind: postgres
configuration:
connection_info:
database_url:
from_env: HASURA_GRAPHQL_PG_DATABASE_URL
isolation_level: read-committed
use_prepared_statements: false
tables: "!include twenty/tables/tables.yaml"
@@ -0,0 +1,3 @@
table:
name: workspaces
schema: public
@@ -0,0 +1 @@
- "!include public_workspaces.yaml"
@@ -0,0 +1 @@
disabled_for_roles: []
+1
View File
@@ -0,0 +1 @@
[]
+1
View File
@@ -0,0 +1 @@
{}
+1
View File
@@ -0,0 +1 @@
{}
+1
View File
@@ -0,0 +1 @@
{}
+1
View File
@@ -0,0 +1 @@
[]
+1
View File
@@ -0,0 +1 @@
[]
+1
View File
@@ -0,0 +1 @@
[]
+1
View File
@@ -0,0 +1 @@
version: 3
@@ -0,0 +1 @@
DROP TABLE "public"."workspaces";
@@ -0,0 +1 @@
CREATE TABLE "public"."workspaces" ("id" serial NOT NULL, "name" Text NOT NULL, "display_name" text NOT NULL, PRIMARY KEY ("id") , UNIQUE ("id"), UNIQUE ("name"));