Skip to content

Commit c9afde0

Browse files
camsaulagilliland
authored andcommitted
Fix duplicate tables in DBs without schemas 😞 metabase#1633
1 parent a9e65df commit c9afde0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/metabase/driver/sync.clj

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
;; replace default delays with ones that reuse database (and don't require a DB call)
8080
(assoc table :db (delay database)))))
8181

82-
8382
(defn- -sync-database! [driver database]
8483
(let [active-tables (driver/active-tables driver database)
8584
existing-table->id (into {} (for [{:keys [name schema id]} (sel :many :fields [Table :name :schema :id], :db_id (:id database), :active true)]

0 commit comments

Comments
 (0)