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.
Any implementation which tackles this should likely handle https://github.com/sgrif/diesel/blob/c26d299da9b4b3e71b545c74dbc95ae13b2bbb98/diesel/src/expression/date_and_time.rs#L23 as well.
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.
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.