From b66aac71a407e662f6a70a56030bef4636f059cd Mon Sep 17 00:00:00 2001 From: juanjo-alvarez Date: Wed, 15 Jan 2025 07:12:15 +0000 Subject: [PATCH 1/2] Version updated Files changed: M charts/cd2024bfs4g1/values-dev.yaml --- charts/cd2024bfs4g1/values-dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cd2024bfs4g1/values-dev.yaml b/charts/cd2024bfs4g1/values-dev.yaml index 49e571cd0..a7d3a0260 100644 --- a/charts/cd2024bfs4g1/values-dev.yaml +++ b/charts/cd2024bfs4g1/values-dev.yaml @@ -6,7 +6,7 @@ image: pullPolicy: IfNotPresent ## provided as basic setup. replace as needed repository: ghcr.io/campusdual/cd2024bfs4g1 - version: dev21f83cb + version: dev47176c0 imagePullSecrets: - name: "github-ecr-cred" nameOverride: "" From 9641514d8ca9f3238628b871c93a89ded81c5dff Mon Sep 17 00:00:00 2001 From: Juanjo <110014245+juanjo-alvarez@users.noreply.github.com> Date: Wed, 15 Jan 2025 08:46:08 +0100 Subject: [PATCH 2/2] flayway fix, reorder scripts before go to pre --- .../main/resources/db/migration/V40__modify_view_students.sql | 1 - .../src/main/resources/db/migration/V41__drop_notes.sql | 2 -- .../resources/db/migration/V43__delete_employment_status_id.sql | 2 -- 3 files changed, 5 deletions(-) diff --git a/cd2024bfs4g1-model/src/main/resources/db/migration/V40__modify_view_students.sql b/cd2024bfs4g1-model/src/main/resources/db/migration/V40__modify_view_students.sql index 0bb424f18..3b92f58fd 100644 --- a/cd2024bfs4g1-model/src/main/resources/db/migration/V40__modify_view_students.sql +++ b/cd2024bfs4g1-model/src/main/resources/db/migration/V40__modify_view_students.sql @@ -18,7 +18,6 @@ as SELECT st.id, st.udemy, st.github_user, st.notes, - st.surnames, st.spain_comunity, st.location, st.employment_status_id, diff --git a/cd2024bfs4g1-model/src/main/resources/db/migration/V41__drop_notes.sql b/cd2024bfs4g1-model/src/main/resources/db/migration/V41__drop_notes.sql index c05a0156a..79608cb77 100644 --- a/cd2024bfs4g1-model/src/main/resources/db/migration/V41__drop_notes.sql +++ b/cd2024bfs4g1-model/src/main/resources/db/migration/V41__drop_notes.sql @@ -45,7 +45,6 @@ AS WITH estados AS ( s.tutor, s.udemy, s.github_user, - s.surnames, s.spain_comunity, s.location, s.employment_status_id, @@ -81,7 +80,6 @@ AS SELECT st.id, concat(t.name, ' ', t.surname1, ' ', t.surname2) AS tutor_name_surname, st.udemy, st.github_user, - st.surnames, st.spain_comunity, st.location, st.employment_status_id, diff --git a/cd2024bfs4g1-model/src/main/resources/db/migration/V43__delete_employment_status_id.sql b/cd2024bfs4g1-model/src/main/resources/db/migration/V43__delete_employment_status_id.sql index 4158f3dfb..e9dfd9ce9 100644 --- a/cd2024bfs4g1-model/src/main/resources/db/migration/V43__delete_employment_status_id.sql +++ b/cd2024bfs4g1-model/src/main/resources/db/migration/V43__delete_employment_status_id.sql @@ -136,7 +136,5 @@ ORDER BY --DROP student columns -ALTER TABLE public.students DROP COLUMN surnames; - ALTER TABLE public.students DROP COLUMN employment_status_id; \ No newline at end of file