Hello,
Let me say as a precursor that I am an eternal newbie, so please
pardon my ignorance. I did briefly look around in the forums to see if
this topic had already been covered, but could not find it. I would be
quite willing to have someone point me to the proper place if it has
already been covered.
My query is this : I was wondering if there is any way to create a set
of migrations for an existing database – to generate a basic
migration from all of the tables (or even one at a time) in the
database. My situation is : I am creating a new web interface for an
existing ( pre-Rails ) database, but would like to be able to
recreate the table structure (no data necessary) in a test
environment. Is there an elegant, established way of doing this?
Thanks for your time.
/Brad.