Current section

Files

Jump to
tz_world lib timezone_geometry.ex
Raw

lib/timezone_geometry.ex

defmodule TzWorld.TimezoneGeometry do
@moduledoc """
Simple `Ecto` schema to represent a timezone and its associated Geometry.
"""
use Ecto.Schema
alias Geo.Geometry
schema "timezone_geometries" do
field :timezone, :string
field :geometry, Geometry
end
end