On Oct 15, 2:22 am, Ben
<ben.ka...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.