Skip to content
Draft
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
7 changes: 7 additions & 0 deletions hasura/metadata/databases/default/tables/public_course.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ array_relationships:
table:
name: course_section
schema: public
- name: term_delivery_modes
using:
foreign_key_constraint_on:
column: course_id
table:
name: course_term_delivery_modes
schema: public
select_permissions:
- role: anonymous
permission:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
table:
name: course_search_index
schema: public
object_relationships:
- name: course
using:
manual_configuration:
column_mapping:
course_id: id
insertion_order: null
remote_table:
name: course
schema: public
select_permissions:
- role: anonymous
permission:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
table:
name: course_term_delivery_modes
schema: public
object_relationships:
- name: course
using:
foreign_key_constraint_on: course_id
select_permissions:
- role: anonymous
permission:
columns:
- course_id
- term_id
- delivery_mode
- created_at
- updated_at
filter: {}
- role: user
permission:
columns:
- course_id
- term_id
- delivery_mode
- created_at
- updated_at
filter: {}
1 change: 1 addition & 0 deletions hasura/metadata/databases/default/tables/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- "!include public_course_review_upvote.yaml"
- "!include public_course_search_index.yaml"
- "!include public_course_section.yaml"
- "!include public_course_term_delivery_modes.yaml"
- "!include public_prof.yaml"
- "!include public_prof_review_upvote.yaml"
- "!include public_prof_search_index.yaml"
Expand Down