Skip to content
Snippets Groups Projects
Commit 4bc001dc authored by Cameron T Saul's avatar Cameron T Saul
Browse files

whoops!

parent 87692496
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@
(let [field-ids (sel :many :field [Field :id]
:table_id id
:active true
:field_type [not= "sensitive"]
(order :position :asc)
(order :name :asc))]
(sel :many :field->field [FieldValues :field_id :values] :field_id [in field-ids])))
......
......@@ -158,12 +158,6 @@
(def ^:private table->id (u/runtime-resolved-fn 'metabase.test-data 'table->id))
(def ^:private field->id (u/runtime-resolved-fn 'metabase.test-data 'field->id))
(defn- set-types! [table-kw {field-kw :name special-type :special-type, field-type :field-type}]
{:post [(true? %)]}
(if-not special-type true
(do (log/info "SET SPECIAL TYPE" table-kw field-kw "->" special-type)
(upd Field (field->id table-kw field-kw) :special_type (name special-type)))))
(defn- set-types! [table-kw {field-kw :name, special-type :special-type, field-type :field-type}]
(when special-type
(log/info "SET SPECIAL TYPE" table-kw field-kw "->" special-type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment