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

Commit

Permalink
chore: delete aid & scholarship table
Browse files Browse the repository at this point in the history
  • Loading branch information
FranGuam committed May 27, 2024
1 parent 761f41a commit 401367c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 149 deletions.
149 changes: 0 additions & 149 deletions metadata/tables.yaml
Original file line number Diff line number Diff line change
@@ -1,76 +1,3 @@
- table:
name: aid_application
schema: public
object_relationships:
- name: user
using:
foreign_key_constraint_on: student_uuid
insert_permissions:
- role: counselor
permission:
check: {}
columns:
- aid
- amount
- code
- created_at
- form_url
- id
- status
- student_id
- student_uuid
- thank_letter
- updated_at
select_permissions:
- role: counselor
permission:
columns:
- aid
- amount
- code
- created_at
- form_url
- id
- status
- student_id
- student_uuid
- thank_letter
- updated_at
filter: {}
- role: student
permission:
columns:
- aid
- amount
- code
- created_at
- form_url
- id
- status
- student_id
- student_uuid
- thank_letter
- updated_at
filter:
student_uuid:
_eq: X-Hasura-User-Id
update_permissions:
- role: student
permission:
columns:
- form_url
- thank_letter
filter:
student_uuid:
_eq: X-Hasura-User-Id
check:
student_uuid:
_eq: X-Hasura-User-Id
delete_permissions:
- role: counselor
permission:
backend_only: false
filter: {}
- table:
name: contest
schema: public
Expand Down Expand Up @@ -4022,82 +3949,6 @@
permission:
backend_only: false
filter: {}
- table:
name: scholarship_application
schema: public
object_relationships:
- name: student_byuuid
using:
foreign_key_constraint_on: student_uuid
insert_permissions:
- role: counselor
permission:
check: {}
columns:
- id
- created_at
- updated_at
- scholarship
- amount
- status
- student_id
- thank_letter
- code
- honor
- form_url
- student_uuid
select_permissions:
- role: counselor
permission:
columns:
- amount
- code
- form_url
- honor
- scholarship
- status
- student_id
- thank_letter
- created_at
- updated_at
- id
- student_uuid
filter: {}
- role: student
permission:
columns:
- amount
- code
- created_at
- form_url
- honor
- id
- scholarship
- status
- student_id
- student_uuid
- thank_letter
- updated_at
filter:
student_uuid:
_eq: X-Hasura-User-Id
update_permissions:
- role: student
permission:
columns:
- form_url
- thank_letter
filter:
student_uuid:
_eq: X-Hasura-User-Id
check:
student_uuid:
_eq: X-Hasura-User-Id
delete_permissions:
- role: counselor
permission:
backend_only: false
filter: {}
- table:
name: scholarships_aids
schema: public
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- DROP table "public"."aid_application";
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP table "public"."aid_application";
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- DROP table "public"."scholarship_application";
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP table "public"."scholarship_application";

0 comments on commit 401367c

Please sign in to comment.