livehelpnow / tds_ecto

TDS Adapter for Ecto
57 stars 34 forks source link

Imposible to use :time #40

Open lalo2302 opened 8 years ago

lalo2302 commented 8 years ago

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?