Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
amitaibu committed Sep 16, 2024
1 parent c727968 commit c180627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ihp-ide/IHP/SchemaCompiler.hs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ columnsReferencingTable theTableName =
variableAttributes :: (?schema :: Schema) => CreateTable -> [Column]
variableAttributes table@(CreateTable { columns }) = filter (isRefCol table) columns

-- | Returns @True@ when the coluns is referencing another column via foreign key constraint
-- | Returns @True@ when the column is referencing another column via foreign key constraint
isRefCol :: (?schema :: Schema) => CreateTable -> Column -> Bool
isRefCol table column = isJust (findForeignKeyConstraint table column)

Expand Down

0 comments on commit c180627

Please sign in to comment.