And you're right that there's no _editor_entity_visits on the server, that'll need looking into
bukwurm
bookbrainz_test is using same schema and sequences as bookbrainz db
This is causing "insert into "bookbrainz"."relationship_set" ("id") values ($1) returning "id" - duplicate key value violates unique constraint "relationship_set_pkey""
D4RK-PH0ENiX has quit
Any idea how to fix it? I am not well versed with postgres
But I get the notion that sequence of bookbrainz db is pointing to the next value to be inserted with few relations
And as the bookbrainz-data relations (tables) are still empty, this error comes up
LordSputnik
bukwurm: is that during tests?
bukwurm
Yes!
LordSputnik
That usually means that the tables haven't been truncated properly
That will only happen when we specify an ID when inserting data, and the ID already exists in the table
bukwurm
LordSputnik: Ok
Let me check
LordSputnik
If you rerun the test when the relationship issue is fixed, the truncation stuff should work properly :)
bukwurm
Ok that's written in the err message itself :P
LordSputnik: Ok that great!
On it!
LordSputnik
(we should also change the tests so that truncation doesn't break when something else breaks)
[listenbrainz-server] paramsingh opened pull request #397: Add username to listen json docs in dumps (production...usernames-in-dumps) https://git.io/vxKNM
github has left the channel
bukwurm_
LordSputnik: Probably should update the schemaSpy diagram on the docs. That's a lifesaver for beginners!
LordSputnik
bukwurm_: definitely, that applies to everything on the docs really!
D4RK-PH0ENiX joined the channel
UmkaDK joined the channel
D4RK-PH0ENiX has quit
D4RK-PH0ENiX joined the channel
bukwurm_: aha! So I think _editor_entity_visits used to exist. Then we restored the database from a dump, and it's not in the dumps (it's personal info), so we lost it
github joined the channel
github
[listenbrainz-server] mayhem closed pull request #397: Add username to listen json docs in dumps (production...usernames-in-dumps) https://git.io/vxKNM