Skip to content


Browse files Browse the repository at this point in the history
fixed SQL Server schema name bug that prevented from getting tables
  • Loading branch information
Vic committed Mar 2, 2018
1 parent 4c19e16 commit 5e4f5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slick/src/main/scala/slick/jdbc/SQLServerProfile.scala
Expand Up @@ -114,7 +114,7 @@ trait SQLServerProfile extends JdbcProfile {
new ModelBuilder(tables, ignoreInvalidDefaults)

override def defaultTables(implicit ec: ExecutionContext): DBIO[Seq[MTable]] = {
MTable.getTables(None, None, None, Some(Seq("TABLE")))
MTable.getTables(None, None, None, Some(Seq("TABLE"))).map(_.filter(!"sys")))

override def defaultSqlTypeName(tmd: JdbcType[_], sym: Option[FieldSymbol]): String = tmd.sqlType match {
Expand Down

0 comments on commit 5e4f5e7

Please sign in to comment.