Closed anupsaund closed 9 years ago
This is most likely a bug in the replication algorithm that have been fixed on loopback master. We should verify after a new version of the following modules was released: loopback, loopback-datasource-juggler, loopback-connector-postgresql. See https://github.com/strongloop/loopback/issues/1167
@bajtos I implemented https://github.com/strongloop/loopback/pull/973 and it fixed the errors.
This should be fixed in loopback@2.15.0
and loopback-connector-postgresql@1.7.0
.
Editing a Todo - creates an index violation as it tries to add the same record into my Todo table.
See attached screenshot...
-- Table: todo
CREATE TABLE todo ( title text, completed boolean, created double precision, id text NOT NULL, CONSTRAINT pkid PRIMARY KEY (id) ) WITH ( OIDS=FALSE ); ALTER TABLE todo OWNER TO postgres;