Upgrade guide - add info about updating timestamp fields (Ecto 3)
darrenklein opened this issue · comments
Darren commented
When users upgrade to Ecto 3, they may need to change the way that timestamp fields are specified on their models - for example, adding @timestamps_opts [type: :utc_datetime_usec]
to a model with a timestamps()
declaration where microseconds are expected, or setting individual timestamp fields accordingly.
Darren commented
And migration_timestamps
... best bet would be to direct people to http://blog.plataformatec.com.br/2018/10/a-sneak-peek-at-ecto-3-0-breaking-changes/