search for: add_primary_key

Displaying 2 results from an estimated 2 matches for "add_primary_key".

2006 Mar 26
1
add_primary_key Re: #3735
Hey guys, With the addition of has_many :through, a number of people will probably want to add primary keys to their current ''rich association'' tables. Currently we don''t have an add_primary_key. We have a ticket for it[1], and I''ve attached a simple patch[2]. It works fine for mysql and postgres (8) and Rick is looking at sqlite. Could those of you who use the other database adapters please have a look? Before 1.1 is released we should either support add_primary_key, or raise...
2008 Apr 09
0
add_primary_key
Hi, We use "add_primary_key" method in the active record script to create primary key in a table. But this method does not allow us to create our own primary key constraint name. Is there a way where we can give our own constraint name ? please help !! Appreciate your response. Thanks, John -- Posted via http://www.r...