Closed iperdomo closed 8 years ago
As last resort the database must prevent inserting duplicated events in the log. An easy way to do it is to add a UNIQUE constraint in payload column.
UNIQUE
payload
See: http://www.postgresql.org/docs/current/static/ddl-constraints.html#DDL-CONSTRAINTS-UNIQUE-CONSTRAINTS
As last resort the database must prevent inserting duplicated events in the log. An easy way to do it is to add a
UNIQUE
constraint inpayload
column.See: http://www.postgresql.org/docs/current/static/ddl-constraints.html#DDL-CONSTRAINTS-UNIQUE-CONSTRAINTS