Adjusted pathing and checks to hopefully fix problems with testing. Added coverage functionality.

This commit is contained in:
LosEvons
2025-11-20 12:00:58 +00:00
parent 75e0c97695
commit 458ff4e0a0
7 changed files with 766 additions and 38 deletions
+7 -16
View File
@@ -119,15 +119,6 @@ ALTER TABLE public.click_to_exercises
ADD CONSTRAINT click_to_exercises_exercise_id_fkey
FOREIGN KEY (exercise_id) REFERENCES exercises(id);
CREATE SEQUENCE public.communications_pages_html_id_seq;
CREATE TABLE public.communications_pages_html (
id integer PRIMARY KEY NOT NULL DEFAULT nextval('communications_pages_html_id_seq'::regclass),
content text NOT NULL
);
ALTER SEQUENCE public.communications_pages_html_id_seq OWNED BY public.communications_pages_html.id;
CREATE TABLE public.dnd_categories (
id bigint PRIMARY KEY NOT NULL GENERATED BY DEFAULT AS IDENTITY,
created_at timestamp with time zone NOT NULL DEFAULT now(),
@@ -348,15 +339,15 @@ CREATE TABLE public.glossary_entries (
CREATE TRIGGER update_glossary_entries_updated_at BEFORE UPDATE ON public.glossary_entries FOR EACH ROW EXECUTE FUNCTION updated_at();
CREATE SEQUENCE public.learning_pages_html_id_seq;
CREATE TABLE public.learning_pages_html (
id integer PRIMARY KEY NOT NULL DEFAULT nextval('learning_pages_html_id_seq'::regclass),
content text NOT NULL
CREATE TABLE public.html_pages (
id bigint PRIMARY KEY NOT NULL GENERATED BY DEFAULT AS IDENTITY,
title text,
content text,
page_order integer,
slug text,
page_group text
);
ALTER SEQUENCE public.learning_pages_html_id_seq OWNED BY public.learning_pages_html.id;
CREATE TABLE public.multichoice_content (
id bigint PRIMARY KEY NOT NULL GENERATED BY DEFAULT AS IDENTITY,
multichoice_exercise_id bigint NOT NULL,