On Sunday, February 2, 2014 2:41:48 AM UTC, Bizt wrote:

> 
> Is this normal? I don't know where it's getting the schema from but it can't 
> be reading only from my db:migrate files. Does it get them from log files 
> when recreating the db, or does it look directly at the db and rebuild. I 
> want my database build purely from the files I'm looking at in my db/migrate 
> folder. How do I do this?

db:reset recreates the database from schema.rb, which is created by reading the 
state of the database (usually after you run migrations). The simplest possible 
thing is probably to just delete the bad categories table and let your new 
migration recreate it. 

Fred. 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/c028bcdd-8828-4a62-bb7e-9ff6cc78372a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to