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, update_at columns of all model tables:
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
I know that this is what it finds in the production db, but why were they created as null: false
there and not in the development db too?