mirror of
https://github.com/OHTU-German-learning-website/OHTU-German-learning-website.git
synced 2026-10-12 19:13:51 +03:00
Adjusted pathing and checks to hopefully fix problems with testing. Added coverage functionality.
This commit is contained in:
+7
-16
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user