From e143253ea5c3b1ed97d582e09b5425b8b9ae7f4b Mon Sep 17 00:00:00 2001 From: Juanjo <110014245+juanjo-alvarez@users.noreply.github.com> Date: Fri, 24 Jan 2025 13:38:30 +0100 Subject: [PATCH] bug multiple insert when update --- .../src/main/resources/db/migration/V48__ajuste_notes.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cd2024bfs4g1-model/src/main/resources/db/migration/V48__ajuste_notes.sql b/cd2024bfs4g1-model/src/main/resources/db/migration/V48__ajuste_notes.sql index d03f984d..c6d42baf 100644 --- a/cd2024bfs4g1-model/src/main/resources/db/migration/V48__ajuste_notes.sql +++ b/cd2024bfs4g1-model/src/main/resources/db/migration/V48__ajuste_notes.sql @@ -8,7 +8,7 @@ SELECT DISTINCT ON (n.id_students) FROM notas n ORDER BY n.id_students, n.id DESC; -drop VIEW public.v_commercial_students +drop VIEW public.v_commercial_students; CREATE OR REPLACE VIEW public.v_commercial_students AS WITH estados AS (