Table for active completion registration links. Completion links change over time, so they need to be updated occasionally.
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. | |||
registration_link | varchar(255) | false | Absolute url for registering a completion to Open University. | |||
uh_course_code | varchar(255) | false | University of Helsinki’s recognized identifier for the course. E.g. BSCS1001 (Introduction to Programming) | |||
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 |
---|---|---|
open_university_registration_links_created_at_not_null | n | NOT NULL created_at |
open_university_registration_links_pkey | PRIMARY KEY | PRIMARY KEY (uh_course_code) |
open_university_registration_links_registration_link_not_null | n | NOT NULL registration_link |
open_university_registration_links_uh_course_code_not_null | n | NOT NULL uh_course_code |
open_university_registration_links_updated_at_not_null | n | NOT NULL updated_at |
Name | Definition |
---|---|
open_university_registration_links_pkey | CREATE UNIQUE INDEX open_university_registration_links_pkey ON public.open_university_registration_links USING btree (uh_course_code) |
Name | Definition |
---|---|
set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.open_university_registration_links FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() |
Generated by tbls