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

foreign keys are not created correctly in mysql #124

Closed
egonSchiele opened this issue Apr 26, 2013 · 1 comment
Closed

foreign keys are not created correctly in mysql #124

egonSchiele opened this issue Apr 26, 2013 · 1 comment
Labels

Comments

@egonSchiele
Copy link

I have two existing tables that I started using with persistent, tips and categories. Both have ids of type int (11). tips has a category_id field that is a foreign key. Persistent insists on changing the type of the field to bigint (20), and then mysql errors out because the foreign key doesn't have the same type as the field it is supposed to be referencing.

@snoyberg
Copy link
Member

Closing out old issues, please reopen if still relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants