Skip to content

Commit 0bb967d

Browse files
committed
chore: allow to update match options for stage relation
1 parent de3ed0c commit 0bb967d

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

hasura/metadata/databases/default/tables/public_match_options.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ object_relationships:
1212
table:
1313
name: tournaments
1414
schema: public
15+
- name: tournament_stage
16+
using:
17+
manual_configuration:
18+
column_mapping:
19+
id: match_options_id
20+
insertion_order: null
21+
remote_table:
22+
name: tournament_stages
23+
schema: public
1524
array_relationships:
1625
- name: matches
1726
using:
@@ -131,6 +140,10 @@ update_permissions:
131140
- tournament:
132141
is_organizer:
133142
_eq: true
143+
- tournament_stage:
144+
tournament:
145+
is_organizer:
146+
_eq: true
134147
check:
135148
_or:
136149
- matches:
@@ -139,6 +152,10 @@ update_permissions:
139152
- tournament:
140153
is_organizer:
141154
_eq: true
155+
- tournament_stage:
156+
tournament:
157+
is_organizer:
158+
_eq: true
142159
comment: ""
143160
- role: user
144161
permission:
@@ -169,6 +186,10 @@ update_permissions:
169186
- tournament:
170187
is_organizer:
171188
_eq: true
189+
- tournament_stage:
190+
tournament:
191+
is_organizer:
192+
_eq: true
172193
check:
173194
_or:
174195
- matches:
@@ -177,4 +198,8 @@ update_permissions:
177198
- tournament:
178199
is_organizer:
179200
_eq: true
201+
- tournament_stage:
202+
tournament:
203+
is_organizer:
204+
_eq: true
180205
comment: ""

0 commit comments

Comments
 (0)