Keeps track of teacher decisions regarding answers with notice if is suspected of plagiarism. Detailed information on the answer can be found from user_exercise_state
Name | Type | Default | Nullable | Children | Parents | Comment |
---|---|---|---|---|---|---|
created_at | timestamp with time zone | now() | false | |||
deleted_at | timestamp with time zone | true | ||||
hidden | boolean | false | false | Whether or not the grading decision is hidden from the student | ||
id | uuid | uuid_generate_v4() | false | |||
justification | text | true | The justification/feedback teachers has given to a submission | |||
score_given | real | false | ||||
teacher_decision | teacher_decision_type | false | ||||
updated_at | timestamp with time zone | now() | false | |||
user_exercise_state_id | uuid | false | public.user_exercise_states | |||
user_id | uuid | true | public.users | The user that made the decision. If NULL, the decision was added automatically without the involment of a user. |
Name | Type | Definition |
---|---|---|
teacher_grading_decisions_pkey | PRIMARY KEY | PRIMARY KEY (id) |
teacher_grading_decisions_user_exercise_state_id_fkey | FOREIGN KEY | FOREIGN KEY (user_exercise_state_id) REFERENCES user_exercise_states(id) |
teacher_grading_decisions_user_id_fkey | FOREIGN KEY | FOREIGN KEY (user_id) REFERENCES users(id) |
Name | Definition |
---|---|
teacher_grading_decisions_pkey | CREATE UNIQUE INDEX teacher_grading_decisions_pkey ON public.teacher_grading_decisions USING btree (id) |
teacher_grading_decisions_user_exercise_state_id_idx | CREATE INDEX teacher_grading_decisions_user_exercise_state_id_idx ON public.teacher_grading_decisions USING btree (user_exercise_state_id) |
Name | Definition |
---|---|
set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.teacher_grading_decisions FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() |
Generated by tbls