Skip to content

Commit

Permalink
ignore heap "indexes"
Browse files Browse the repository at this point in the history
fixes #36
  • Loading branch information
keith-hall committed Oct 9, 2015
1 parent 11607fa commit 216a1b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ from sys.views
inner join sys.columns c on c.object_id = t.object_id
and c.column_id = ic.column_id
inner join sys.schemas s on s.schema_id = t.schema_id
where i.type_desc != 'HEAP'
order by s.name, t.name, i.name, ic.key_ordinal, ic.index_column_id";
using (SqlDataReader dr = cm.ExecuteReader())
{
Expand Down

0 comments on commit 216a1b0

Please sign in to comment.