pd2pg
pd2pg copied to clipboard
UniqueConstraintViolation
Tried running this on a fresh db:
refresh.start
get_bulk.page collection=services offset=0 total=?
get_bulk.page collection=services offset=100 total=200
get_bulk.update collection=services total=200
get_bulk.page collection=escalation_policies offset=0 total=?
get_bulk.page collection=escalation_policies offset=100 total=200
get_bulk.update collection=escalation_policies total=200
bundler: failed to load command: pd2pg (/usr/local/lib/ruby/gems/2.4.0/bin/pd2pg)
Sequel::UniqueConstraintViolation: PG::UniqueViolation: ERROR: duplicate key value violates unique
constraint "escalation_rule_schedules_pkey"
DETAIL: Key (id)=(P2R81N9_PZX5GI3) already exists.
/usr/local/lib/ruby/gems/2.4.0/gems/sequel-4.49.0/lib/sequel/adapters/postgres.rb:166:in `async_e
xec'