Why have to Generate a migration from an existing MySQL Database?

20 views
Skip to first unread message

haxuan lac

unread,
Jun 20, 2013, 1:19:54 PM6/20/13
to rubyonra...@googlegroups.com
I'm a newbie ROR
I reading some Document and I know Generate a migration from an existing
MySQL Database
I don't know why have to do it?This action can solve problems?
please someone ever to done this can explain for me this.
Thanks....

--
Posted via http://www.ruby-forum.com/.

Colin Law

unread,
Jun 20, 2013, 2:48:24 PM6/20/13
to rubyonra...@googlegroups.com
On 20 June 2013 18:19, haxuan lac <li...@ruby-forum.com> wrote:
> I'm a newbie ROR
> I reading some Document and I know Generate a migration from an existing
> MySQL Database
> I don't know why have to do it?This action can solve problems?
> please someone ever to done this can explain for me this.

There is no need to generate migrations to recreate an existing database.

Colin
Reply all
Reply to author
Forward
0 new messages