Commit 075959aa authored by Juozas Kaziukenas's avatar Juozas Kaziukenas Committed by Benjamin Eberlei

Ignore sysdiagrams table from a list

parent abda6a5d
......@@ -306,7 +306,8 @@ class MsSqlPlatform extends AbstractPlatform
*/
public function getListTablesSQL()
{
return "SELECT name FROM sysobjects WHERE type = 'U' ORDER BY name";
// "sysdiagrams" table must be ignored as it's internal SQL Server table for Database Diagrams
return "SELECT name FROM sysobjects WHERE type = 'U' AND name != 'sysdiagrams' ORDER BY name";
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment