>
> 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.