     (unparse fmtr timestamp)))
 
 (defn- fmt-time [file-meta]
-  (assoc file-meta :time (format-timestamp (:time file-meta))))
+  (assoc file-meta :time
+         (. java.sql.Timestamp valueOf (format-timestamp (:time file-meta)))))
 
 (defn clean-sources []
   (delete sources


(def ^:private probemaps-defaults
  (into {} (map #(vector % nil) probemaps-columns)))

(declare probemaps)
(defentity probemap_sources)

(def ^:private probemaps-meta
  {:table probemaps

(declare experiment_sources features probes scores experiments exp_samples)

(defentity cohorts)
(defentity sources)

(defentity experiments
  (many-to-many sources :experiment_sources)
  (has-many exp_samples)
  (has-many probes))

