Does anybody know why whenever I run rake db:migrate
in my production environment, the schema.rb file is changed?
The differences are only on the created_at
I had the same thing on my dev machine. Running db:drop in production is not a wise idea, but what will fix the 'problem':
rake db:drop db:create db:migrate
My mysql version had changed since I first created the database with rails. The migrations still ran according to the old mysql version.
This is what probabaly happens at your production environment.