Skip to content
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

InnoDB and foreign keys #487

Closed
alexis-gruet-deel opened this issue Mar 12, 2013 · 5 comments
Closed

InnoDB and foreign keys #487

alexis-gruet-deel opened this issue Mar 12, 2013 · 5 comments
Labels
type: feature For issues and PRs. For new features. Never breaking changes.
Milestone

Comments

@alexis-gruet-deel
Copy link

Not really a issue but more an observation.

When i create associations between objects and use the sync() method, it generate the tables with the good foreign keys column/attrs on the DBMS side but i didn't see any foreign key References on the table itself when i do a show create table statement.

It means there are no controls from the DBMS regarding any potential foreign key violations during CRUD operations. Thus i don't see any interests to put by default the InnoDB engine as long InnoDB support this feature and this is the main interest to use this engine by default. ( or i totally miss something 😋 )

it is something complicated to implement ? do u need some help to implement it ? is there any PoC about this feature ?

Thx

@sdepold
Copy link
Member

sdepold commented Mar 12, 2013

just added it to v1.7.0. it was requested already quite often

@cflynn07
Copy link

+1 & Thanks sdepold

@cflynn07
Copy link

+1 I would like this feature as well. I'm implementing foreign keys manually for the time being.

@optilude
Copy link
Contributor

See also #389

@janmeier
Copy link
Member

janmeier commented May 8, 2013

Implemented in #595

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature For issues and PRs. For new features. Never breaking changes.
Projects
None yet
Development

No branches or pull requests

5 participants