liquid_feedback_core

diff update/core-update.v3.2.2-v4.0.0.sql @ 534:b341544beb75

Renamed table "notification_event_sent" to "event_processed"
author jbe
date Fri Apr 21 12:42:43 2017 +0200 (2017-04-21)
parents 5855ff9e5c8f
children 8b6433096a58
line diff
     1.1 --- a/update/core-update.v3.2.2-v4.0.0.sql	Thu Mar 30 20:11:59 2017 +0200
     1.2 +++ b/update/core-update.v3.2.2-v4.0.0.sql	Fri Apr 21 12:42:43 2017 +0200
     1.3 @@ -907,6 +907,13 @@
     1.4              "old_text_value"  ISNULL ));
     1.5  
     1.6  
     1.7 +ALTER TABLE "notification_event_sent" RENAME TO "event_processed";
     1.8 +ALTER INDEX "notification_event_sent_singleton_idx" RENAME TO "event_processed_singleton_idx";
     1.9 +
    1.10 +COMMENT ON TABLE "event_processed" IS 'This table stores one row with the last event_id, for which event handlers have been executed (e.g. notifications having been sent out)';
    1.11 +COMMENT ON INDEX "event_processed_singleton_idx" IS 'This index ensures that "event_processed" only contains one row maximum.';
    1.12 +
    1.13 +
    1.14  CREATE OR REPLACE FUNCTION "write_event_issue_state_changed_trigger"()
    1.15    RETURNS TRIGGER
    1.16    LANGUAGE 'plpgsql' VOLATILE AS $$

Impressum / About Us