~ihabunek/triglav

ref: 1a8ba58407fc58b933347c9bec5bcb4358191cbb triglav/lib/triglav/ecto.ex -rw-r--r-- 241 bytes
1a8ba584Ivan Habunek Use derived data for route detail view 7 months ago
                                                                                
1
2
3
4
5
6
7
# Add postgis extesion to postgrex
# https://hexdocs.pm/ecto_sql/Ecto.Adapters.Postgres.html#module-extensions
Postgrex.Types.define(
  Triglav.PostgrexTypes,
  [Geo.PostGIS.Extension] ++ Ecto.Adapters.Postgres.extensions(),
  json: Jason
)