circles-learning-labs / ecto_adapters_dynamodb

DynamoDB adapter for Elixir's Ecto Database layer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade guide - add info about updating timestamp fields (Ecto 3)

darrenklein opened this issue · comments

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.

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/