Skip to content

Commit

Permalink
fix catalogue
Browse files Browse the repository at this point in the history
  • Loading branch information
JFriel committed Jan 27, 2025
1 parent 61e2c69 commit cdc93b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Rdmp.Core/Curation/KeywordHelp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,5 @@ UNIQUE_SettingKey: Ensures the uniqueness of key values in the setting table
FK_Redaction_RedactionConfiguration_ID: Prevents you from deleting a redaction configuration if it's in use
FK_Redaction_ColumnInfo_ID: Prevents redactions from becoming orphaned from their associated catalogue columns
FK_RedactionKey_Redaction_ID: Prevents redaction primary keys from being orphaned from the associated redaction
FK_RedactionKey_ColumnInfo_ID: Prevents redaction keys from becoming orphaned from their associated catalogue columns
FK_RedactionKey_ColumnInfo_ID: Prevents redaction keys from becoming orphaned from their associated catalogue columns
FK_LoadMetadataRootReference: Links versions of a load metadata back to the source load metadata
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,8 @@ ALTER TABLE [dbo].[ColumnInfo] ADD CONSTRAINT [FK_Column_Info_Dataset] FOREIGN K
GO
ALTER TABLE [dbo].[LoadMetadata] ADD LastLoadTime [datetime] NULL;
GO
ALTER TABLE [dbo].[LoadMetadata] ADD CONSTRAINT [FK_LoadMetadataRootReference] FOREIGN KEY(RootLoadMetadata_ID) REFERENCES [dbo].[LoadMetadata](id) ON DELETE CASCADE
GO
SET ANSI_PADDING OFF
GO
ALTER TABLE [dbo].[ANOTable] ADD CONSTRAINT [DF_ANOTable_SoftwareVersion] DEFAULT ([dbo].[GetSoftwareVersion]()) FOR [SoftwareVersion]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
BEGIN
ALTER TABLE [dbo].[LoadMetadata]
ADD RootLoadMetadata_ID [int] NULL,
CONSTRAINT [fk_loadMetadataRootReference] FOREIGN KEY(RootLoadMetadata_ID) REFERENCES [dbo].[LoadMetadata](id)
CONSTRAINT [FK_LoadMetadataRootReference] FOREIGN KEY(RootLoadMetadata_ID) REFERENCES [dbo].[LoadMetadata](id) ON DELETE CASCADE
END


Expand Down

0 comments on commit cdc93b6

Please sign in to comment.