Adds a foreign key constraint to the [Repository.Item].[FoldersTable] table.
[Repository.Item].[AddFolderForeignKey] ( @schema, @baseName, @folderColumn )
@schema
Type: sysname. The schema for the target table or view.
@baseName
Type: nvarchar(99). The name of the target table or view. If this is the name of a view, then the table name must use the same base name appended with the word "Table".
@folderColumn
Type: sysname. The column name that stores Folder values in the target table or view.