[Rails] Re: Is it possible to do Reverse Engineering in rails migrat
Sathish Kumar wrote:
[...]
> Consider, I have deleted all the migration files from the folder
> RAILS_ROOT/db/migrate/*.
>
> We have all the tables present in Mysql database. Now, I want to
> create a migration files for all existing tables.
>
> Is that possible to create those? If yes, how is it?
>
> Even I have deleted the schema.rb file from RAILS_ROOT/db/ folder.
Just check out the migrations and schema.rb again from your version
control repository, same as you would for any accidentally deleted file.
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
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 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