SQL Restore and Migrations

I had a lot of data in my db that I did not put in my migration
files. About 1.5 Million records. So I dumped into an sql file and
restored on the production server. My site is up and running
(heavyhead.net) but how do I tell Rails that my db is already
“migrated” so I can still use migrations to add stuff to the schema.
It is my understanding that there is an error if you try to migrate
and if a table already exists, you are stuck.

On Oct 15, 2:22am, Ben [email protected] wrote:

I had a lot of data in my db that I did not put in my migration
files. About 1.5 Million records. So I dumped into an sql file and
restored on the production server. My site is up and running
(heavyhead.net) but how do I tell Rails that my db is already
“migrated” so I can still use migrations to add stuff to the schema.
It is my understanding that there is an error if you try to migrate
and if a table already exists, you are stuck.

The set of migrations that have already been run is stored in the
database, so if you’ve restored the entire db you should be fine.

Fred