Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
feat: array relationships for contest
Browse files Browse the repository at this point in the history
  • Loading branch information
FranGuam committed Mar 18, 2024
1 parent f070d13 commit 22450fd
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,42 @@
- table:
name: contest
schema: public
array_relationships:
- name: contest_managers
using:
foreign_key_constraint_on:
column: contest_id
table:
name: contest_manager
schema: public
- name: contest_notices
using:
foreign_key_constraint_on:
column: contest_id
table:
name: contest_notice
schema: public
- name: contest_players
using:
foreign_key_constraint_on:
column: contest_id
table:
name: contest_player
schema: public
- name: contest_rooms
using:
foreign_key_constraint_on:
column: contest_id
table:
name: contest_room
schema: public
- name: contest_teams
using:
foreign_key_constraint_on:
column: contest_id
table:
name: contest_team
schema: public
insert_permissions:
- role: counselor
permission:
Expand Down Expand Up @@ -561,6 +597,13 @@
table:
name: contest_team_player
schema: public
- name: contest_team_rooms
using:
foreign_key_constraint_on:
column: team_id
table:
name: contest_room_team
schema: public
insert_permissions:
- role: counselor
permission:
Expand Down

0 comments on commit 22450fd

Please sign in to comment.