During a recent (and first) upgrade of Rails to 7.0, I found a lot of changes in the schema.rb
file.
There is the self explanatory one: add versioning to the schema file.
And the noisy change of every single datatime
field's precision
attribute.
Looking at this, I find out that the precision
default to 6
. It explains why some attributes got precision: nil
and some other got their precision: 6
removed.
This was a change made in 2019 and released from Rails 7.0 in December 2021. So, 2.5 years after but I'm happy to discover that and sharing it.
For people following here, Rails 7.1 is already planned and is already passing the entire test suite. Hopefully, it won't take long.
Cheers!