Skip to content
Snippets Groups Projects
Commit 88785635 authored by Cam Saul's avatar Cam Saul
Browse files

fix errors in QP for Postgres timestamp fields

parent 0bc945da
Branches
Tags
No related merge requests found
......@@ -428,9 +428,11 @@
(= col-kw :count) {:base_type :IntegerField
:special_type :number}
;; Otherwise something went wrong !
:else (throw (Exception. (format "Annotation failed: don't know what to do with Field '%s'.\nExpected these Fields:\n%s"
col-kw
(u/pprint-to-str field-kw->field))))))))
:else (do (log/error (u/format-color 'red "Annotation failed: don't know what to do with Field '%s'.\nExpected these Fields:\n%s"
col-kw
(u/pprint-to-str field-kw->field)))
{:base_type :UnknownField
:special_type nil})))))
;; Add FK info the the resulting Fields
add-fields-extra-info)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment