Bring migration up to date

Hi,

I have been developing an application but certain tables in my migration
are missing table column’s etc…

All my fault for editing directly on the database, i know!!!

is there a way to wipe the old migratons and dump all of the table data
in one migration to bring it all to the same level?

thanks

I have been developing an application but certain tables in my migration
are missing table column’s etc…

All my fault for editing directly on the database, i know!!!

is there a way to wipe the old migratons and dump all of the table data
in one migration to bring it all to the same level?

Try one (or more) of these…

rake db:schema:dump # Create a db/schema.rb file that can
be portably used against any DB supported by AR

rake db:structure:dump # Dump the database structure to a SQL file