From: tino <tino.zoroto...@gmail.com>
Date: Wed, 31 Oct 2012 12:49:51 -0700 (PDT)
Local: Wed, Oct 31 2012 3:49 pm
Subject: Re: [Rails-core] Some kind of automatic adding index on forgotten migrations
i type: rails g migration AddFieldToTable field:references there is no migrations there or i type wrong, on pgSQL, rails 3.2 On Wednesday, October 31, 2012 12:01:31 PM UTC+1, rtdp wrote:
> I use rails 3.2 and by default it does add indexes if column type is > -- > On Tue, Oct 30, 2012 at 10:59 PM, Tino <tino.zo...@gmail.com <javascript:> >> Hello, just asking for first time here... >> if you do in console: >> rails g migration *AddReferenceidToModel *type:*references* >> would you expect that Rails add index for reference_id field, cause it >> i did that on my fork and it makes me happy every time I scaffold and >> regards, Tino >> -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||