crane
crane copied to clipboard
Possible to map to a TIMESTAMP WITH TIME ZONE Postgresql type?
Hi.
Is it possible to map to a TIMESTAMP WITH TIME ZONE column type in Postgresql?
This should be possible, maybe by adding an option to the timestamp type to handle this.
In the rewrite branch I'm representing SQL types as CLOS classes, which can take initialization arguments, so you'll be able to do:
(deftable model ()
((creation :reader creation
:type (crane.types:timestamp :timezone t)
:documentation "The creation date.")))