fix: restore contact_interne/contact_public column names in v_theses_full

Migration 041 accidentally renamed contact_interne → author_email and
contact_public → author_show_contact, but all application code still
references the old names. Migration 042 rebuilds the views with the
correct column aliases. Also updated schema.sql to match.
This commit is contained in:
Pontoporeia
2026-07-05 14:04:29 +02:00
parent 8e309bbcb7
commit 1e714982d3
3 changed files with 76 additions and 2 deletions
+1 -1
View File
@@ -418,7 +418,6 @@ SELECT
ft.name as finality_type,
t.synopsis,
t.context_note,
t.contact_visible,
t.duration_pages,
t.duration_minutes,
t.has_annexes,
@@ -438,6 +437,7 @@ SELECT
t.cc2r,
t.remarks,
t.jury_note_added,
t.contact_visible,
GROUP_CONCAT(DISTINCT a.name ORDER BY a.name ASC) as authors,
GROUP_CONCAT(DISTINCT s.name) as supervisors,
GROUP_CONCAT(DISTINCT CASE WHEN ts.role = 'president' THEN s.name END) as jury_president,