~ihabunek/triglav

ref: d1b5915f3e023d04850eabf702bda7207a337302 triglav/lib/triglav/ecto.ex -rw-r--r-- 241 bytes
d1b5915fIvan Habunek Validate platform distance from route 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
)