livehelpnow / tds_ecto

TDS Adapter for Ecto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Imposible to use :time

lalo2302 opened this issue · comments

I am using ecto 1.1.8 and elixir 1.3

The :time type doesn't exists in elixir. In this case i would use Ecto.Time, but the adapter crashes without any kind of useful error. I tried to use a string as datatype of my schema, but implicit conversion from varbinary to time is not allowed in sql server.

How can I use time type of sql server in elixir with ecto?