fix: ignore views on col/fk as target
Also refactor self relationship findRel logic
This commit is contained in:
committed by
Steve Chavez
parent
2be63b36d6
commit
f7b173163c
@@ -23,6 +23,8 @@ data Relationship = Relationship
|
||||
, relForeignTable :: QualifiedIdentifier
|
||||
, relIsSelf :: Bool -- ^ Whether is a self relationship
|
||||
, relCardinality :: Cardinality
|
||||
, relTableIsView :: Bool
|
||||
, relFTableIsView :: Bool
|
||||
}
|
||||
deriving (Eq, Ord, Generic, JSON.ToJSON)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user