cphalcon
cphalcon copied to clipboard
Add constraint to foreign key
It's not possible to add constraints (ON UPDATE CASCADE, etc) to foreign keys with Phalcon\Db\AdapterInterface::addForeignKey. It accepts a Phalcon\Db\ReferenceInterface which does not have an "action" or similar parameter for constraints. This would be very useful.
Thanks.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Fixed in the 3.2.x branch. Feel free to open new issue if the problem appears again. Thank you for contributing.