If an exercise slide submission is rejected, the submission is stored here. Rejections happen usually when there is some bug in the exercise service. This data if used for diagnosing problems.
Name | Type | Default | Nullable | Children | Parents | Comment |
---|---|---|---|---|---|---|
created_at | timestamp with time zone | now() | false | Timestamp when the record was created. | ||
deleted_at | timestamp with time zone | true | Timestamp when the record was deleted. If null, the record is not deleted. | |||
exercise_slide_id | uuid | false | public.exercise_slides | The exercise slide that was submitted | ||
id | uuid | uuid_generate_v4() | false | public.rejected_exercise_task_submissions | A unique, stable identifier for the record. | |
updated_at | timestamp with time zone | now() | false | Timestamp when the record was last updated. The field is updated automatically by the set_timestamp trigger. | ||
user_id | uuid | false | public.users | The user who submitted the exercise |
Name | Type | Definition |
---|---|---|
rejected_exercise_slide_submissions_exercise_slide_id_fkey | FOREIGN KEY | FOREIGN KEY (exercise_slide_id) REFERENCES exercise_slides(id) |
rejected_exercise_slide_submissions_pkey | PRIMARY KEY | PRIMARY KEY (id) |
rejected_exercise_slide_submissions_user_id_fkey | FOREIGN KEY | FOREIGN KEY (user_id) REFERENCES users(id) |
Name | Definition |
---|---|
rejected_exercise_slide_submissions_pkey | CREATE UNIQUE INDEX rejected_exercise_slide_submissions_pkey ON public.rejected_exercise_slide_submissions USING btree (id) |
Name | Definition |
---|---|
set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.rejected_exercise_slide_submissions FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() |
Generated by tbls