doctrine / PHP - how to handle a table that has no PK?
I'm using doctrine to use an already built DB so that I don't have to go down to the DB level and write as little code as possible.
Here's this table that has no PK. It maps other 2 entities from the project (users to departments, for example) so no PK is really needed on this table.
Of course, I hit the "every entity needs a PK" doctrine requirement and so I'm stuck. I guess I could use a two-field PK but how do I feed it into doctrine?
Thanks in advance.