CREATE TABLE public.course_config
(
    course_id integer NOT NULL,
    config_key character varying(100) NOT NULL,
    config_value text,
    updated_at timestamp with time zone NOT NULL DEFAULT now(),
    CONSTRAINT course_config_course_id_fkey FOREIGN KEY (course_id) REFERENCES courses(course_id) ON DELETE CASCADE,
    CONSTRAINT course_config_pkey PRIMARY KEY (course_id, config_key)
);
