liquid_feedback_core
diff core.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/core.sql Thu Mar 30 20:11:59 2017 +0200 1.2 +++ b/core.sql Fri Apr 21 12:42:43 2017 +0200 1.3 @@ -1682,12 +1682,12 @@ 1.4 COMMENT ON COLUMN "event"."state" IS 'If issue_id is set: state of affected issue; If state changed: new state'; 1.5 1.6 1.7 -CREATE TABLE "notification_event_sent" ( 1.8 +CREATE TABLE "event_processed" ( 1.9 "event_id" INT8 NOT NULL ); 1.10 -CREATE UNIQUE INDEX "notification_event_sent_singleton_idx" ON "notification_event_sent" ((1)); 1.11 - 1.12 -COMMENT ON TABLE "notification_event_sent" IS 'This table stores one row with the last event_id, for which notifications have been sent out'; 1.13 -COMMENT ON INDEX "notification_event_sent_singleton_idx" IS 'This index ensures that "notification_event_sent" only contains one row maximum.'; 1.14 +CREATE UNIQUE INDEX "event_processed_singleton_idx" ON "event_processed" ((1)); 1.15 + 1.16 +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.17 +COMMENT ON INDEX "event_processed_singleton_idx" IS 'This index ensures that "event_processed" only contains one row maximum.'; 1.18 1.19 1.20 CREATE TABLE "notification_initiative_sent" (