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
mar...@marnen.org
--
Posted via http://www.ruby-forum.com/.