dwyl / alog

🌲 alog (Append-only Log) is an easy way to start using the Lambda/Kappa architecture in your Elixir/Phoenix Apps while still using PostgreSQL (with Ecto).
GNU General Public License v2.0
15 stars 2 forks source link

Use Ecto `naive_datetime_usec` #37

Open SimonLab opened 5 years ago

SimonLab commented 5 years ago

linked to: https://github.com/dwyl/phoenix-ecto-append-only-log-example/issues/14#issuecomment-440491063

To keep using microseconds Ecto provide the naive_datetime_usec type for your configuration.

From the documentation https://github.com/dwyl/alog#repo the setup of the Repo configuration is done on the application using Alog (not on Alog itself is that correct @Danwhy ?)

So we might just need to add a section in the Readme to let the users now how to add naive_datetime_usec in their repo configuration