Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

services:
postgres:
image: postgres:17.2
image: postgres:17.4
env:
POSTGRES_DB: dashboard
POSTGRES_USER: visionBoard
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

services:
postgres:
image: postgres:17.2
image: postgres:17.4
env:
POSTGRES_DB: dashboard
POSTGRES_USER: visionBoard
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
db:
image: postgres:17.2
image: postgres:17.4
restart: always
environment:
POSTGRES_DB: dashboard
Expand Down Expand Up @@ -33,7 +33,7 @@ services:
start_period: 5s

schema-dump:
image: postgres:17.2
image: postgres:17.4
depends_on:
- db
environment:
Expand Down
8 changes: 4 additions & 4 deletions src/database/schema/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
-- PostgreSQL database dump
--

-- Dumped from database version 17.2 (Debian 17.2-1.pgdg120+1)
-- Dumped by pg_dump version 17.2 (Debian 17.2-1.pgdg120+1)
-- Dumped from database version 17.4 (Debian 17.4-1.pgdg120+2)
-- Dumped by pg_dump version 17.4 (Debian 17.4-1.pgdg120+2)

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down Expand Up @@ -1302,15 +1302,15 @@ ALTER TABLE ONLY public.owasp_top10_training
--

ALTER TABLE ONLY public.resources_for_compliance_checks
ADD CONSTRAINT resources_for_compliance_checks_compliance_check_id_foreign FOREIGN KEY (compliance_check_id) REFERENCES public.compliance_checks(id);
ADD CONSTRAINT resources_for_compliance_checks_compliance_check_id_foreign FOREIGN KEY (compliance_check_id) REFERENCES public.compliance_checks(id) ON UPDATE CASCADE ON DELETE CASCADE;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't altered the tables manually, and the database is a new instance since I recently formatted my computer. I assume it's due to the new version. I've also done a rollback and re-applied the migrations to be sure.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that this update actually was missing from previous PRs, so makes sense to include it 👍



--
-- Name: resources_for_compliance_checks resources_for_compliance_checks_compliance_check_resource_id_fo; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.resources_for_compliance_checks
ADD CONSTRAINT resources_for_compliance_checks_compliance_check_resource_id_fo FOREIGN KEY (compliance_check_resource_id) REFERENCES public.compliance_checks_resources(id);
ADD CONSTRAINT resources_for_compliance_checks_compliance_check_resource_id_fo FOREIGN KEY (compliance_check_resource_id) REFERENCES public.compliance_checks_resources(id) ON UPDATE CASCADE ON DELETE CASCADE;


--
Expand Down
Loading