Monday, November 21, 2011

Re: [Rails] existing application with mysql migration

On 21 November 2011 11:30, amvis <vgrkrishnan@gmail.com> wrote:
>
> i have download one rails application. i am using mysql database. so i need
> to get the existing database into mysql, and run that application. how  will
> run that application. i have search so many stuffs, but i didn't get related
> issues. how to migrate that schema into database.

Try
rake db:create
which should create the database according to the contents of schema.rb
Then
rake db:migrate
which will run any migrations that are not already in schema.rb.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate