rmre icon indicating copy to clipboard operation
rmre copied to clipboard

Composite primary keys

Open djvs opened this issue 9 years ago • 1 comments

The generated models do not support composite primary keys. Not sure if bug report or feature request really. I got around it by using this gem:

https://github.com/composite-primary-keys/composite_primary_keys

and manually editing the produced results. This was an issue quickly with a data set I was working with.

You may want to at least produce a warning and ask the user how to proceed when generating models?

djvs avatar Nov 20 '15 21:11 djvs

It would be good if you can implement this and create pull request.

bosko avatar Nov 22 '15 16:11 bosko