liquid_feedback_core
changeset 535:8b6433096a58
Bugfix in write_event_support_trigger
author | jbe |
---|---|
date | Sun Jun 18 02:24:50 2017 +0200 (2017-06-18) |
parents | b341544beb75 |
children | 750b0be5acb6 |
files | core.sql update/core-update.v3.2.2-v4.0.0.sql |
line diff
1.1 --- a/core.sql Fri Apr 21 12:42:43 2017 +0200 1.2 +++ b/core.sql Sun Jun 18 02:24:50 2017 +0200 1.3 @@ -2252,12 +2252,12 @@ 1.4 INSERT INTO "event" ( 1.5 "event", "member_id", 1.6 "unit_id", "area_id", "issue_id", "state", 1.7 - "initiative_id", "draft_id", "boolean_value" 1.8 + "initiative_id", "boolean_value" 1.9 ) VALUES ( 1.10 'support', OLD."member_id", 1.11 "area_row"."unit_id", "issue_row"."area_id", 1.12 "issue_row"."id", "issue_row"."state", 1.13 - OLD."initiative_id", OLD."draft_id", FALSE 1.14 + OLD."initiative_id", FALSE 1.15 ); 1.16 END IF; 1.17 END IF;
2.1 --- a/update/core-update.v3.2.2-v4.0.0.sql Fri Apr 21 12:42:43 2017 +0200 2.2 +++ b/update/core-update.v3.2.2-v4.0.0.sql Sun Jun 18 02:24:50 2017 +0200 2.3 @@ -1381,12 +1381,12 @@ 2.4 INSERT INTO "event" ( 2.5 "event", "member_id", 2.6 "unit_id", "area_id", "issue_id", "state", 2.7 - "initiative_id", "draft_id", "boolean_value" 2.8 + "initiative_id", "boolean_value" 2.9 ) VALUES ( 2.10 'support', OLD."member_id", 2.11 "area_row"."unit_id", "issue_row"."area_id", 2.12 "issue_row"."id", "issue_row"."state", 2.13 - OLD."initiative_id", OLD."draft_id", FALSE 2.14 + OLD."initiative_id", FALSE 2.15 ); 2.16 END IF; 2.17 END IF;