Local schema.rb automatically reverts 'datetime' to 'datetime_with_timezone' after migrations
What
After running migrations locally db/schema.rb
is automatically updated to the current state. For me this involves lots of changes for datetime_with_timezone
:
- t.datetime_with_timezone "created_at", null: false
- t.datetime_with_timezone "updated_at", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
Somehow I must have missed running this migration, but can't find a suitable migration to force run