spotorm / spot2

Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer
http://phpdatamapper.com
BSD 3-Clause "New" or "Revised" License
601 stars 101 forks source link

Fix not deleted when hasMany relations saving #256

Open kitchenu opened 6 years ago

kitchenu commented 6 years ago

When hasMany relations saving, the primary key name of the table to be deleted is incorrect.

FlipEverything commented 6 years ago

Could you please provide some test for this bug?