Skip to content

Commit

Permalink
Fix notification migration sql (#849)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdulac authored Nov 17, 2020
1 parent 79d8ff6 commit 8a24a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/evolutions/default/42.sql
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ FROM application;

# --- !Downs
DROP VIEW application_metadata;
ALTER TABLE application ADD seen_by_user_ids_temp uuid[];
ALTER TABLE application ADD seen_by_user_ids_temp uuid[] default array[]::uuid[];

WITH data AS(select id, creation_date,
(select array_agg(t::uuid) from jsonb_array_elements_text(data.seen_by_user_ids) as x(t)) as seen_by_user_ids
Expand Down

0 comments on commit 8a24a60

Please sign in to comment.