                              [database :refer [Database]]
                              [field :refer [Field]]
                              [foreign-key :refer [ForeignKey]]
+                             [raw-column :refer [RawColumn]]
+                             [raw-table :refer [RawTable]]
                              [table :refer [Table]]
                              [setting :as setting])
             [metabase.util :as u]))

        (k/update Field
          (k/set-fields {:fk_target_field_id destination_id})
          (k/where      {:id                 origin_id}))))))

  (:require [clojure.tools.logging :as log]
            [korma.core :as k]
            [metabase.db :as db]
            [metabase.driver :as driver]
            [metabase.events.activity-feed :refer [activity-feed-topics]]
            (metabase.models [activity :refer [Activity]]
                             [card :refer [Card]]
