From dc4c73db8ed07adb444a34223b5be44c08a0beae Mon Sep 17 00:00:00 2001
From: Simon Belak <simon@metabase.com>
Date: Wed, 21 Aug 2019 23:38:47 +0100
Subject: [PATCH] Add MSSQL system views to cruft (#10659)

Add MSSQL system views to cruft tables
---
 src/metabase/sync/sync_metadata/tables.clj | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/metabase/sync/sync_metadata/tables.clj b/src/metabase/sync/sync_metadata/tables.clj
index 465852f44b9..05f2f18b2c6 100644
--- a/src/metabase/sync/sync_metadata/tables.clj
+++ b/src/metabase/sync/sync_metadata/tables.clj
@@ -71,7 +71,9 @@
     #"^databasechangelog$"
     #"^databasechangeloglock$"
     ;; Lobos
-    #"^lobos_migrations$"})
+    #"^lobos_migrations$"
+    ;; MSSQL
+    #"^syncobj_0x.*"})
 
 (s/defn ^:private is-crufty-table? :- s/Bool
   "Should we give newly created TABLE a `visibility_type` of `:cruft`?"
-- 
GitLab