Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions hasura/metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,64 @@
columns:
- name
filter: {}
- table:
schema: public
name: Map
insert_permissions:
- role: player
permission:
check: {}
columns:
- author_address
- data
- name
- id
backend_only: false
- role: public
permission:
check: {}
columns:
- author_address
- data
- name
- id
backend_only: false
select_permissions:
- role: player
permission:
columns:
- author_address
- data
- name
- id
filter: {}
- role: public
permission:
columns:
- author_address
- data
- name
- id
filter: {}
update_permissions:
- role: player
permission:
columns:
- author_address
- data
- name
- id
filter: {}
check: null
- role: public
permission:
columns:
- author_address
- data
- name
- id
filter: {}
check: null
- table:
schema: public
name: Player
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP TABLE "public"."Map";
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE TABLE "public"."Map"("id" uuid NOT NULL DEFAULT gen_random_uuid(), "author_address" text NOT NULL, "name" Text NOT NULL, "data" Text NOT NULL, PRIMARY KEY ("id") , UNIQUE ("id"));
Loading