Prevent schema.rb reverting from datetime_with_timezone to datetime
requested to merge 39289-local-schema-rb-automatically-reverts-datetime-to-datetime_with_timezone-after-migrations into master
What
In development/test environments this will change datetime
columns to datetime_with_timezone
. In production it is skipped, and on the down migration it is skipped as these should probably already have changed.
Are there points in the code the reviewer needs to double check?
Why
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Tests added for this feature/bug - Review
-
Has been reviewed by Backend -
Has been reviewed by Database
-
-
Conform by the merge request performance guides -
Conform by the style guides
What are the relevant issue numbers?
Closes #39289 (closed)
Edited by Grzegorz Bizon