Maybe it's a silly question but I need multiple primary keys in some tables something like...
create table t1
(
id int not null
id_something int not null
.
.
.
primary key (id, id_something)
)
I googled and I found this gem http://rubygems.org/gems/composite_primary_keys
but I couldn't find what activerecord version do I have
I'm using rails 3.0.12 and ruby 1.9.2p320
Run bundle show activerecord
at the terminal.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With