Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
JFriel committed Jan 6, 2025
1 parent 6aab850 commit 4e0441c
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 271 deletions.
113 changes: 0 additions & 113 deletions Rdmp.Core/Curation/Data/CatalogueOverview.cs

This file was deleted.

41 changes: 0 additions & 41 deletions Rdmp.Core/Curation/Data/CatalogueOverviewDataPoint.cs

This file was deleted.

23 changes: 0 additions & 23 deletions Rdmp.Core/Curation/Data/ICatalogueOverview.cs

This file was deleted.

15 changes: 0 additions & 15 deletions Rdmp.Core/Curation/Data/ICatalogueOverviewDataPoint.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1400,44 +1400,6 @@ CONSTRAINT [PK_RegexRedactionKey] PRIMARY KEY CLUSTERED
END
GO

if not exists (select 1 from sys.tables where name = 'CatalogueOverview')
BEGIN
CREATE TABLE [dbo].[CatalogueOverview](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Catalogue_ID] [int] NOT NULL,
[LastDataLoad] [datetime] NULL,
[LastExtractionTime] [datetime] NULL,
[NumberOfRecords] [int] NOT NULL,
[NumberOfPeople] [int] NOT NULL,
[DateColumn_ID] [int] NOT NULL,
[StartDate] [datetime] NULL,
[EndDate] [datetime] NULL,
CONSTRAINT FK_Catalogue_Overview_Catalogue FOREIGN KEY (Catalogue_ID) REFERENCES Catalogue(ID) ON DELETE CASCADE,
CONSTRAINT PK_CatalogueOverview PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO

if not exists (select 1 from sys.tables where name = 'CatalogueOverviewDataPoint')
BEGIN
CREATE TABLE [dbo].[CatalogueOverviewDataPoint](
[ID] [int] IDENTITY(1,1) NOT NULL,
[CatalogueOverview_ID] [int] NOT NULL,
[Date] [datetime] NOT NULL,
[Count] int NOT NULL,
CONSTRAINT FK_Catalogue_Overview_DataPoint_Catalogue_Overview FOREIGN KEY (CatalogueOverview_ID) REFERENCES CatalogueOverview(ID) ON DELETE CASCADE,
CONSTRAINT PK_CatalogueOverviewDataPoin2t PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO


EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Table ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Catalogue', @level2type=N'COLUMN',@level2name=N'ID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'‘SMR01’ for example' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Catalogue', @level2type=N'COLUMN',@level2name=N'Acronym'
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion Rdmp.Core/Rdmp.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@
<EmbeddedResource Include="Databases\CatalogueDatabase\up\078_AddLastLoadTimeToLoadMetadata.sql" />
<EmbeddedResource Include="Databases\CatalogueDatabase\up\084_AddLoadDirectorySplit.sql" />
<EmbeddedResource Include="Databases\CatalogueDatabase\up\085_AddTicketingReleaseStatuses.sql" />
<EmbeddedResource Include="Databases\CatalogueDatabase\up\089_AddCatalogueOverview.sql" />
<EmbeddedResource Include="Databases\CatalogueDatabase\up\088_AddRegexRedactionConfiguration.sql" />
<EmbeddedResource Include="Databases\CatalogueDatabase\up\086_AddDataLoadPrefixOverride.sql" />
<EmbeddedResource Include="Databases\CatalogueDatabase\up\087_AddAggregateFilterOrdering.sql" />
Expand Down

0 comments on commit 4e0441c

Please sign in to comment.