TIL that MS SQL also has a "datetime2" data type.

For real.
This commit is contained in:
Dimitri Fontaine 2014-11-18 23:25:07 +01:00
parent 5d80c8371f
commit 5b2fb40578

View File

@ -48,7 +48,8 @@
(:source (:type "varbinary") :target (:type "bytea")
:using pgloader.transforms::byte-vector-to-bytea)
(:source (:type "datetime") :target (:type "timestamptz")))
(:source (:type "datetime") :target (:type "timestamptz"))
(:source (:type "datetime2") :target (:type "timestamptz")))
"Data Type Casting to migrate from MSSQL to PostgreSQL")
;;;