Diesel: Support `Timestamptz`

Created on 17 Jan 2016  路  2Comments  路  Source: diesel-rs/diesel

This should be separate from Timestamp. To start I would like to be incredibly conservative about any comparisons with these types, and not treat timestamp and timestamptz as interchangeable. I'm not super well versed in the semantics of this type -- it does sound like it mostly ends up being UTC on the backend, so we might be able to loosen this later.

Most helpful comment

Please show how to use this Timestamptz. I am having error infer_schema on db for timestamp pg fields.
need more examples covering a practical pg table implementation. I am trying to migrate old django projects in to Iron+Diesel and having issues here.

All 2 comments

Please show how to use this Timestamptz. I am having error infer_schema on db for timestamp pg fields.
need more examples covering a practical pg table implementation. I am trying to migrate old django projects in to Iron+Diesel and having issues here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

kollapsderwellenfunktion picture kollapsderwellenfunktion  路  4Comments

ivan picture ivan  路  4Comments

killercup picture killercup  路  4Comments

sgrif picture sgrif  路  4Comments