diff --git a/src/metabase/driver/h2.clj b/src/metabase/driver/h2.clj index 4c240059efa3f9c9cbcca9c1aba3078da4e2979c..8ae123af460032b1f265442a8c593c43b4e61792 100644 --- a/src/metabase/driver/h2.clj +++ b/src/metabase/driver/h2.clj @@ -140,10 +140,10 @@ (defmethod sql.qp/unix-timestamp->honeysql [:h2 :seconds] [_ _ expr] (add-to-1970 expr "second")) -(defmethod sql.qp/unix-timestamp->honeysql [:h2 :millisecond] [_ _ expr] +(defmethod sql.qp/unix-timestamp->honeysql [:h2 :milliseconds] [_ _ expr] (add-to-1970 expr "millisecond")) -(defmethod sql.qp/unix-timestamp->honeysql [:h2 :millisecond] [_ _ expr] +(defmethod sql.qp/unix-timestamp->honeysql [:h2 :microseconds] [_ _ expr] (add-to-1970 expr "microsecond")) (defmethod sql.qp/cast-temporal-string [:h2 :Coercion/YYYYMMDDHHMMSSString->Temporal]