Skip to content

Commit b27bf93

Browse files
committed
Revert "feat(database): add 'date' column to weekly table and grant permissions (#227)"
This reverts commit 00aec7f.
1 parent 00aec7f commit b27bf93

3 files changed

Lines changed: 52 additions & 11 deletions

File tree

metadata/tables.yaml

Lines changed: 52 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,13 @@
12131213
using:
12141214
foreign_key_constraint_on: team_leader_uuid
12151215
array_relationships:
1216+
- name: contest_team_RL_scores
1217+
using:
1218+
foreign_key_constraint_on:
1219+
column: team_id
1220+
table:
1221+
name: contest_team_RL_score
1222+
schema: public
12161223
- name: contest_team_codes
12171224
using:
12181225
foreign_key_constraint_on:
@@ -1455,6 +1462,45 @@
14551462
filter:
14561463
team_leader_uuid:
14571464
_eq: X-Hasura-User-Id
1465+
- table:
1466+
name: contest_team_RL_code
1467+
schema: public
1468+
- table:
1469+
name: contest_team_RL_score
1470+
schema: public
1471+
object_relationships:
1472+
- name: contest_team
1473+
using:
1474+
foreign_key_constraint_on: team_id
1475+
select_permissions:
1476+
- role: anonymous
1477+
permission:
1478+
columns:
1479+
- score
1480+
- team_id
1481+
filter: {}
1482+
comment: ""
1483+
- role: counselor
1484+
permission:
1485+
columns:
1486+
- score
1487+
- team_id
1488+
filter: {}
1489+
comment: ""
1490+
- role: student
1491+
permission:
1492+
columns:
1493+
- score
1494+
- team_id
1495+
filter: {}
1496+
comment: ""
1497+
- role: teacher
1498+
permission:
1499+
columns:
1500+
- score
1501+
- team_id
1502+
filter: {}
1503+
comment: ""
14581504
- table:
14591505
name: contest_team_code
14601506
schema: public
@@ -2052,6 +2098,9 @@
20522098
- name: contest_team
20532099
using:
20542100
foreign_key_constraint_on: team_id
2101+
- table:
2102+
name: contest_team_software_final
2103+
schema: public
20552104
- table:
20562105
name: contest_time
20572106
schema: public
@@ -3156,6 +3205,9 @@
31563205
- value
31573206
filter: {}
31583207
comment: ""
3208+
- table:
3209+
name: llm_usage
3210+
schema: public
31593211
- table:
31603212
name: manager_permissions
31613213
schema: public
@@ -3917,7 +3969,6 @@
39173969
- role: anonymous
39183970
permission:
39193971
columns:
3920-
- date
39213972
- id
39223973
- tags
39233974
- title
@@ -3926,7 +3977,6 @@
39263977
- role: counselor
39273978
permission:
39283979
columns:
3929-
- date
39303980
- id
39313981
- tags
39323982
- title
@@ -3936,7 +3986,6 @@
39363986
- role: student
39373987
permission:
39383988
columns:
3939-
- date
39403989
- id
39413990
- tags
39423991
- title
@@ -3946,7 +3995,6 @@
39463995
- role: teacher
39473996
permission:
39483997
columns:
3949-
- date
39503998
- id
39513999
- tags
39524000
- title
@@ -3956,7 +4004,6 @@
39564004
- role: user
39574005
permission:
39584006
columns:
3959-
- date
39604007
- id
39614008
- tags
39624009
- title

migrations/1778509633714_alter_table_public_weekly_add_column_date/down.sql

Lines changed: 0 additions & 4 deletions
This file was deleted.

migrations/1778509633714_alter_table_public_weekly_add_column_date/up.sql

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)