martinjw / dbschemareader

Read database metadata (from SqlServer/Oracle/MySql/SQLite/PostgreSql/DB2 etc) into one simple model
Microsoft Public License
293 stars 128 forks source link

fixes null 'ReferresToTable' of FK when only one table is read from schema (complement to #115) #121

Closed mjalil closed 3 years ago

mjalil commented 3 years ago

Hello Martin, this is a complement to pull request #115 that PR fixed the issue of referring FK to unique constraints when all tables read, but it has still the issue when a single table is read I fixed it and added a test class that tests both cases

martinjw commented 3 years ago

Thanks!