haxuan lac
2013-Jun-21 09:54 UTC
How to create Migration from Mysql DB with bigint type of Mysql
I have to create Migration file form Mysql DB But I want type of Migration equivalent with Mysql DB (example : in Mysql with type Bigint and in Migration will have type Int(20) or Bigint) Could You help me solve this Problem? Thanks -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/15db566f46fdd46fe51828756764d6aa%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
BalaRaju Vankala
2013-Jun-21 13:57 UTC
Re: How to create Migration from Mysql DB with bigint type of Mysql
http://api.rubyonrails.org/classes/ActiveRecord/Migration.html On Fri, Jun 21, 2013 at 3:24 PM, haxuan lac <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I have to create Migration file form Mysql DB > But I want type of Migration equivalent with Mysql DB > (example : in Mysql with type Bigint and in Migration will have type > Int(20) or Bigint) > Could You help me solve this Problem? > Thanks > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/15db566f46fdd46fe51828756764d6aa%40ruby-forum.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > >-- ---------------------------------------------------------------------------------------------------- Thank You. Best Wishes, BalaRaju Vankala, 8886565300. -- 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAGQ0aieHAupF42GAL4Z5o3d1hxbOOQhEsCv%2BDfQmo7is2FXZxw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.