On 14 November 2014 08:27, M,Gopi M.gopinath <[email protected]> wrote:
> Hi All,
>
> I have question with rails migration file.
>
> Seems In rails for each and every table migration file will be generate with
> timestamp followed by table name.
>
> But I have moved all the migration file to a single file, and deleted all
> the migrations.
>
> what is the best way of practice,
>
> Having single migration for each table or else a single migration file for
> the whole application.

The best practice with rails is almost always to do it the way rails
wants you to.  So one file per migration.  What is the point of doing
the extra work of combining them into one file?

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLufoCBmzK7_pW%3D9nfysPFsqCjtedKJTvKUiQ_ybo4YhfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to