   (sync-field->> field
                  (mark-url-field! driver)
                  mark-category-field!
-                 (mark-no-preview-display-field! driver)))
+                 (mark-no-preview-display-field! driver)
+                 auto-assign-field-special-type-by-name!))
 
 
 ;; Each field-syncing function below should return FIELD with any updates that we made, or nil.

        (log/info (format "Field '%s.%s' has an average length of %d. Not displaying it in previews." (:name @(:table field)) (:name field) avg-len))
        (upd Field (:id field) :preview_display false)
        (assoc field :preview_display false)))))

                             [table :refer [Table]])
            [metabase.util :as u]))

(declare auto-assign-field-special-type-by-name!
         mark-category-field!
         mark-no-preview-display-field!
         mark-url-field!
         sync-database-active-tables!
