Helper table for listing ended exams that have been processed.
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. | |||
exam_id | uuid | false | public.exams | Exam that is marked as processed. | ||
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. |
Name | Type | Definition |
---|---|---|
ended_processed_exams_exam_id_fkey | FOREIGN KEY | FOREIGN KEY (exam_id) REFERENCES exams(id) |
ended_processed_exams_pkey | PRIMARY KEY | PRIMARY KEY (exam_id) |
Name | Definition |
---|---|
ended_processed_exams_pkey | CREATE UNIQUE INDEX ended_processed_exams_pkey ON public.ended_processed_exams USING btree (exam_id) |
Name | Definition |
---|---|
set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.ended_processed_exams FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() |
Generated by tbls