From c334836ef22dfdd476c48508f944343fbb1be4b5 Mon Sep 17 00:00:00 2001 From: Yongdae Hwang Date: Mon, 17 Oct 2016 17:00:42 +0900 Subject: [PATCH] Make migration compatible with EnterpriseDB 9.4 --- taiga/projects/tasks/migrations/0009_auto_20151104_1131.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taiga/projects/tasks/migrations/0009_auto_20151104_1131.py b/taiga/projects/tasks/migrations/0009_auto_20151104_1131.py index da11ea7b..064f8848 100644 --- a/taiga/projects/tasks/migrations/0009_auto_20151104_1131.py +++ b/taiga/projects/tasks/migrations/0009_auto_20151104_1131.py @@ -12,11 +12,11 @@ WITH status_update AS( WITH status_update AS( WITH history_entries AS ( SELECT - diff#>>'{status, 1}' new_status_id, + diff #>>'{status, 1}' new_status_id, regexp_split_to_array(key, ':') as split_key, created_at as date FROM history_historyentry - WHERE diff#>>'{status, 1}' != '' + WHERE diff #>>'{status, 1}' != '' ) SELECT split_key[2] as object_id,