New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add constraint to foreign key #2604

Closed
nsossonko opened this Issue Jul 10, 2014 · 1 comment

Comments

Projects
None yet
3 participants
@nsossonko
Contributor

nsossonko commented Jul 10, 2014

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.

@sergeyklay

This comment has been minimized.

Show comment
Hide comment
@sergeyklay

sergeyklay Jul 4, 2017

Member

Fixed in the 3.2.x branch. Feel free to open new issue if the problem appears again. Thank you for contributing.

Member

sergeyklay commented Jul 4, 2017

Fixed in the 3.2.x branch. Feel free to open new issue if the problem appears again. Thank you for contributing.

@sergeyklay sergeyklay closed this Jul 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment