Index

public.open_university_registration_links

Description

Table for active completion registration links. Completion links change over time, so they need to be updated occasionally.

Columns

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.

Constraints

Name Type Definition
open_university_registration_links_pkey PRIMARY KEY PRIMARY KEY (uh_course_code)

Indexes

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)

Triggers

Name Definition
set_timestamp CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.open_university_registration_links FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()

Relations

er

Generated by tbls