Skip to content

Commit 1c9b822

Browse files
committed
change this
1 parent c925b15 commit 1c9b822

File tree

1 file changed

+4
-2
lines changed
  • moped-database/migrations/1708416196012_again

1 file changed

+4
-2
lines changed

moped-database/migrations/1708416196012_again/up.sql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ CREATE OR REPLACE VIEW current_phase_view AS SELECT DISTINCT ON (mpp.project_id,
33
mpp.project_phase_id,
44
mpp.phase_id,
55
mp.phase_name,
6-
mp.phase_name_simple
6+
mp.phase_key,
7+
mp.phase_name_simple,
8+
mpp.phase_description
79
FROM moped_proj_phases mpp
810
LEFT JOIN moped_phases mp ON mp.phase_id = mpp.phase_id
911
WHERE mpp.is_deleted = false AND mpp.is_current_phase = true
10-
ORDER BY mpp.project_id, mpp.is_current_phase, mpp.project_phase_id;
12+
ORDER BY mpp.project_id, mpp.is_current_phase, mpp.project_phase_id, mpp.phase_description;

0 commit comments

Comments
 (0)