Adding
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
CREATE TABLE [dbo].[DocumentProcessingInfo]
|
||||
(
|
||||
[DocumentProcessingInfoId] INT NOT NULL PRIMARY KEY IDENTITY,
|
||||
[DocumentId] UNIQUEIDENTIFIER NULL,
|
||||
[IngestorRunInfoId] UNIQUEIDENTIFIER NOT NULL,
|
||||
[CreatedDate] DATETIME NOT NULL,
|
||||
[DocumentValuePayload] VARCHAR(MAX) NOT NULL,
|
||||
[StatusType] INT NOT NULL,
|
||||
[DocumentFileName] VARCHAR(500) NOT NULL,
|
||||
[ProcessCount] INT NOT NULL DEFAULT 0,
|
||||
[DocumentType] VARCHAR(100) NOT NULL,
|
||||
[DocumentBusinessName] VARCHAR(500) NOT NULL,
|
||||
[EntityUnknown] BIT NOT NULL DEFAULT 0,
|
||||
CONSTRAINT [FK_DocumentProcessingInfo_IngestorRunInfo] FOREIGN KEY ([IngestorRunInfoId]) REFERENCES [IngestorRunInfo]([IngestorRunInfoId])
|
||||
)
|
||||
GO
|
||||
|
||||
CREATE NONCLUSTERED INDEX [IX_DocumentProcessingInfo_IngestorRunInfoId_StatusType_CreatedDate] ON [dbo].[DocumentProcessingInfo]
|
||||
(
|
||||
[IngestorRunInfoId] ASC,
|
||||
[StatusType] ASC,
|
||||
[CreatedDate] ASC
|
||||
)
|
||||
INCLUDE([DocumentProcessingInfoId],[DocumentId],[DocumentValuePayload],[DocumentFileName],[ProcessCount],[DocumentType],[DocumentBusinessName],[EntityUnknown]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
|
||||
GO
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE [dbo].[DocumentTypeArchiveDeleteInfo]
|
||||
(
|
||||
[DocumentTypeName] VARCHAR(200) NOT NULL,
|
||||
[ArchiveDays] INT NOT NULL Default 0,
|
||||
[ArchiveMonths] INT NOT NULL Default 0,
|
||||
[DeleteDays] INT NULL,
|
||||
CONSTRAINT [PK_DocumentTypeArchiveDeleteInfo] PRIMARY KEY ([DocumentTypeName])
|
||||
)
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE [dbo].[IngestorRunInfo]
|
||||
(
|
||||
[IngestorRunInfoId] UNIQUEIDENTIFIER NOT NULL PRIMARY KEY,
|
||||
[StartTimeStamp] DATETIME NOT NULL,
|
||||
[EndTimeStamp] DATETIME NULL,
|
||||
[IngestorType] INT NOT NULL,
|
||||
[IndexFilePath] VARCHAR(1000) NULL,
|
||||
[IndexFileName] VARCHAR(500) NULL,
|
||||
[IndexTotal] INT NULL,
|
||||
[ArchiveTimeStamp] DATETIME NULL,
|
||||
[IngestionRunCount] INT NOT NULL Default 0
|
||||
)
|
||||
+178
@@ -0,0 +1,178 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Operations Version="1.0" xmlns="http://schemas.microsoft.com/sqlserver/dac/Serialization/2012/02">
|
||||
<Operation Name="Rename Refactor" Key="815d7cea-23f9-48a7-a38f-f14c5642da7d" ChangeDateTime="04/07/2022 19:27:29">
|
||||
<Property Name="ElementName" Value="[dbo].[IngestorRunInfo].[Id]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[IngestorRunInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="IngestorRunInfoId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="f268a100-409f-4a88-903e-eb14a9e81918" ChangeDateTime="04/07/2022 19:28:08">
|
||||
<Property Name="ElementName" Value="[dbo].[IngestorRunInfo].[SuccessCount]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[IngestorRunInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="Total" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="4fabc833-823e-4c96-b702-2fd08b10376f" ChangeDateTime="04/07/2022 19:29:36">
|
||||
<Property Name="ElementName" Value="[dbo].[IngestorRunInfo].[Total]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[IngestorRunInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="IndexTotal" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="50671ed5-45c1-4573-a236-e0f4b979737a" ChangeDateTime="04/07/2022 19:38:32">
|
||||
<Property Name="ElementName" Value="[dbo].[IngestorRunInfo].[TotalFailureCount]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[IngestorRunInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="FailureCount" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="ad0140ec-12a5-43b7-bfc9-72639e2635cd" ChangeDateTime="04/11/2022 19:51:58">
|
||||
<Property Name="ElementName" Value="[dbo].[IngestorRunInfo].[SuccessCount]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[IngestorRunInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="IndexTotal" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="6757dde3-7268-41c6-9cd5-7858b84a51d9" ChangeDateTime="05/06/2022 00:56:41">
|
||||
<Property Name="ElementName" Value="[dbo].[DocumentProcessingInfo].[Id]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[DocumentProcessingInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="DocumentProcessingInfoId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="18cf05d7-e941-47c4-9ee2-ccc07657a680" ChangeDateTime="05/06/2022 01:00:48">
|
||||
<Property Name="ElementName" Value="[dbo].[ProcessingLog].[Id]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[ProcessingLog]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="ProcessingLogId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="b7dbf1c8-130f-4cef-b57e-a956b0c460c4" ChangeDateTime="05/06/2022 19:22:35">
|
||||
<Property Name="ElementName" Value="[dbo].[IngestorRunInfo].[SuccessCount]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[IngestorRunInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="IndexTotal" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="5f1cbf3e-7441-44f6-b6d7-29d0e2eecb8f" ChangeDateTime="05/12/2022 19:31:24">
|
||||
<Property Name="ElementName" Value="[dbo].[DocumentTypeArchiveDeleteInfo].[Id]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[DocumentTypeArchiveDeleteInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="DocumentTypeArchiveDeleteInfoId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="96f062cf-2cd8-4a8c-aaef-47f38e470730" ChangeDateTime="05/16/2022 20:55:11">
|
||||
<Property Name="ElementName" Value="[dbo].[DocumentTypeArchiveDeleteInfo].[DocumentType]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[DocumentTypeArchiveDeleteInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="DocumentTypesName" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="d29eca9f-4c56-4839-8167-4d2a3b18c160" ChangeDateTime="05/17/2022 18:15:16">
|
||||
<Property Name="ElementName" Value="[dbo].[DocumentTypeArchiveDeleteInfo].[DocumentTypesName]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[DocumentTypeArchiveDeleteInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="DocumentTypeName" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="2c0e4bfb-7cb8-4303-b97d-63f4269b8311" ChangeDateTime="06/27/2022 11:52:45">
|
||||
<Property Name="ElementName" Value="[dbo].[OverrideTable].[Id]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[OverrideTable]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="OwnerOverrideInfoId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="2e4959c7-dbef-4bb7-a87e-5d8fc7cc76b4" ChangeDateTime="06/27/2022 11:52:56">
|
||||
<Property Name="ElementName" Value="[dbo].[OverrideTable].[UserID]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[OverrideTable]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="UserId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="477a1b95-059c-4bed-9e39-783c88944873" ChangeDateTime="06/28/2022 13:00:26">
|
||||
<Property Name="ElementName" Value="[dbo].[OverrideTable].[UserId]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[OverrideTable]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="EntityId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="60a38c1f-3d91-4ef7-8ddc-8f8d3b0d9beb" ChangeDateTime="07/06/2022 19:17:36">
|
||||
<Property Name="ElementName" Value="[dbo].[OwnerOverrideInfo].[UserId]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[OwnerOverrideInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="UserName" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="2e5d4940-e0bb-4858-b63f-6742d1b13d65" ChangeDateTime="07/20/2022 19:41:39">
|
||||
<Property Name="ElementName" Value="[dbo].[IngestorPdfPartitionerRunInfo].[Id]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[IngestorPdfPartitionerRunInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="IngestorPdfPartitionerRunInfoId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="30589e4e-6ec5-4a0c-97b5-559b9c7542d4" ChangeDateTime="07/20/2022 19:42:17">
|
||||
<Property Name="ElementName" Value="[dbo].[IngestorPdfPartitionerRunInfo].[IngestorType]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[IngestorPdfPartitionerRunInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="PdfParserTypes" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="cef9c6df-fdbc-47a0-bff1-3352efd9cf4b" ChangeDateTime="07/20/2022 19:47:19">
|
||||
<Property Name="ElementName" Value="[dbo].[IngestorPdfPartitionerRunInfo].[PdfParserTypes]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[IngestorPdfPartitionerRunInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="PdfParserType" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="f0f2946c-2291-468e-ba57-f7c007e20ab3" ChangeDateTime="07/20/2022 19:49:43">
|
||||
<Property Name="ElementName" Value="[dbo].[IngestorPdfPartitionerRunInfo].[IngestorPdfPartitionerRunInfoId]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[IngestorPdfPartitionerRunInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="PdfPartitionerRunInfoId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="29972a97-efb9-4ece-b64a-790967b69ae0" ChangeDateTime="07/21/2022 16:36:44">
|
||||
<Property Name="ElementName" Value="[dbo].[PdfPartitionerLog].[Id]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[PdfPartitionerLog]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="PdfPartitionerLogId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="8c67ec0a-de28-4de0-925a-b9e9086ce543" ChangeDateTime="07/29/2022 12:48:31">
|
||||
<Property Name="ElementName" Value="[dbo].[MemberNotificationInfo].[Id]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[MemberNotificationInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="MemberNotificationInfoId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="1e07bf11-dfae-417d-8379-110328c2d2bb" ChangeDateTime="11/08/2022 11:23:05">
|
||||
<Property Name="ElementName" Value="[dbo].[OsgPreprocessingInfo].[DocType]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[OsgPreprocessingInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="DocumentType" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="fccbc7a3-31aa-4df1-b28f-df494fde4b30" ChangeDateTime="11/08/2022 12:16:05">
|
||||
<Property Name="ElementName" Value="[dbo].[OsgPreprocessingInfo].[Id]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[OsgPreprocessingInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="OsgPreprocessingInfoId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="8f6f6e44-7d2f-4c9b-a07f-9d705fa752cb" ChangeDateTime="11/08/2022 12:20:16">
|
||||
<Property Name="ElementName" Value="[dbo].[OsgPreprocessingInfo].[OsgPreprocessingInfoId]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[OsgPreprocessingInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="OsgPreprocesserInfoId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="c682349f-7444-4f63-8a26-1eb8b1d4293b" ChangeDateTime="11/08/2022 12:45:41">
|
||||
<Property Name="ElementName" Value="[dbo].[OsgPreprocessingInfo].[OsgPreprocesserInfoId]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[OsgPreprocessingInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="OsgPreprocessorInfoId" />
|
||||
</Operation>
|
||||
</Operations>
|
||||
+74
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<Name>LCU.API.Internal.DocumentIngestorSql</Name>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectVersion>4.1</ProjectVersion>
|
||||
<ProjectGuid>{781f2de1-9629-49d1-82a4-015b62ee92ef}</ProjectGuid>
|
||||
<DSP>Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider</DSP>
|
||||
<OutputType>Database</OutputType>
|
||||
<RootPath>
|
||||
</RootPath>
|
||||
<RootNamespace>LCU.API.Internal.DocumentIngestorSql</RootNamespace>
|
||||
<AssemblyName>LCU.API.Internal.DocumentIngestorSql</AssemblyName>
|
||||
<ModelCollation>1033, CI</ModelCollation>
|
||||
<DefaultFileStructure>BySchemaAndSchemaType</DefaultFileStructure>
|
||||
<DeployToDatabase>True</DeployToDatabase>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<TargetLanguage>CS</TargetLanguage>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<SqlServerVerification>False</SqlServerVerification>
|
||||
<IncludeCompositeObjects>True</IncludeCompositeObjects>
|
||||
<TargetDatabaseSet>True</TargetDatabaseSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName>
|
||||
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion>
|
||||
<!-- Default to the v11.0 targets path if the targets file for the current VS version is not found -->
|
||||
<SSDTExists Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets')">True</SSDTExists>
|
||||
<VisualStudioVersion Condition="'$(SSDTExists)' == ''">11.0</VisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<Import Condition="'$(SQLDBExtensionsRefPath)' != ''" Project="$(SQLDBExtensionsRefPath)\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
|
||||
<Import Condition="'$(SQLDBExtensionsRefPath)' == ''" Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
|
||||
<ItemGroup>
|
||||
<Folder Include="Properties" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Build Include="IngestorRunInfo.sql" />
|
||||
<Build Include="DocumentProcessingInfo.sql" />
|
||||
<Build Include="ProcessingLog.sql" />
|
||||
<Build Include="DocumentTypeArchiveDeleteInfo.sql" />
|
||||
<Build Include="OwnerOverrideInfo.sql" />
|
||||
<Build Include="PdfPartitionerRunInfo.sql" />
|
||||
<Build Include="PdfPartitionerLog.sql" />
|
||||
<Build Include="MemberNotificationInfo.sql" />
|
||||
<Build Include="OsgPreprocessorInfo.sql" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<RefactorLog Include="LCU.API.Internal.DocumentIngestorSql.refactorlog" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
CREATE TABLE [dbo].[MemberNotificationInfo]
|
||||
(
|
||||
[MemberNotificationInfoId] INT NOT NULL PRIMARY KEY IDENTITY,
|
||||
[DocumentProcessingInfoId] INT NOT NULL,
|
||||
[UploadDate] DATETIME NOT NULL,
|
||||
[DeliveryMethod] INT NULL,
|
||||
[SentTimeStamp] DATETIME NULL,
|
||||
[AgreeUserId] VARCHAR(50) NULL,
|
||||
[EntityName] VARCHAR(100) NULL,
|
||||
[EmailAddress] VARCHAR(100) NULL,
|
||||
[NotificationStatusType] INT NOT NULL,
|
||||
[Attempts] INT NOT NULL DEFAULT 0,
|
||||
[ResponseTimeStamp] DATETIME NULL,
|
||||
CONSTRAINT [FK_MemberNotificationInfo_DocumentProcessingInfo] FOREIGN KEY ([DocumentProcessingInfoId]) REFERENCES [DocumentProcessingInfo]([DocumentProcessingInfoId])
|
||||
)
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
CREATE TABLE [dbo].[OsgPreprocessorInfo]
|
||||
(
|
||||
[OsgPreprocessorInfoId] INT NOT NULL PRIMARY KEY IDENTITY,
|
||||
[BatchRunInfoId] UNIQUEIDENTIFIER NOT NULL,
|
||||
[ZipFileName] VARCHAR(100) NOT NULL,
|
||||
[ZipFileStartTime] DATETIME NOT NULL,
|
||||
[ZipFileEndTime] DATETIME NOT NULL,
|
||||
[DocumentType] VARCHAR(50) NOT NULL,
|
||||
[EntityName] VARCHAR(100) NULL,
|
||||
[MemberNumber] VARCHAR(50) NOT NULL,
|
||||
[CreatedDate] DATETIME NOT NULL,
|
||||
[StartingPage] INT NOT NULL,
|
||||
[NumberOfPages] INT NOT NULL,
|
||||
[XmlOutput] XML NOT NULL
|
||||
)
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE [dbo].[OwnerOverrideInfo]
|
||||
(
|
||||
[OwnerOverrideInfoId] INT NOT NULL PRIMARY KEY IDENTITY,
|
||||
[UserName] VARCHAR(100) NOT NULL,
|
||||
[EntityId] VARCHAR(500) NULL,
|
||||
[EntityType] INT NOT NULL,
|
||||
[DocumentProcessingInfoId] INT NOT NULL,
|
||||
CONSTRAINT [FK_OwnerOverrideInfo_DocumentProcessingInfo] FOREIGN KEY ([DocumentProcessingInfoId]) REFERENCES [DocumentProcessingInfo]([DocumentProcessingInfoId])
|
||||
)
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE [dbo].[PdfPartitionerLog]
|
||||
(
|
||||
[PdfPartitionerLogId] INT NOT NULL PRIMARY KEY IDENTITY,
|
||||
[PdfPartitionerRunInfoId] UNIQUEIDENTIFIER NOT NULL,
|
||||
[LogTimeStamp] DATETIME NOT NULL,
|
||||
[LogMessage] VARCHAR(MAX) NOT NULL,
|
||||
CONSTRAINT [FK_PdfPartitionerLog_PdfPartitionerRunInfo] FOREIGN KEY ([PdfPartitionerRunInfoId]) REFERENCES [PdfPartitionerRunInfo]([PdfPartitionerRunInfoId])
|
||||
)
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE [dbo].[PdfPartitionerRunInfo]
|
||||
(
|
||||
[PdfPartitionerRunInfoId] UNIQUEIDENTIFIER NOT NULL PRIMARY KEY,
|
||||
[StartTimeStamp] DATETIME NOT NULL,
|
||||
[EndTimeStamp] DATETIME NULL,
|
||||
[PdfParserType] INT NOT NULL,
|
||||
[Path] VARCHAR(1000) NOT NULL,
|
||||
[IndexTotal] INT NOT NULL,
|
||||
[FailureCount] INT NOT NULL Default 0,
|
||||
[SuccessCount] INT NOT NULL Default 0
|
||||
)
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE [dbo].[ProcessingLog]
|
||||
(
|
||||
[ProcessingLogId] INT NOT NULL PRIMARY KEY IDENTITY,
|
||||
[DocumentProcessingInfoId] INT NOT NULL,
|
||||
[LogTimeStamp] DATETIME NOT NULL,
|
||||
[LogMessage] VARCHAR(MAX) NOT NULL,
|
||||
[UserName] VARCHAR(100) NOT NULL,
|
||||
CONSTRAINT [FK_ProcessingLog_DocumentProcessingInfo] FOREIGN KEY ([DocumentProcessingInfoId]) REFERENCES [DocumentProcessingInfo]([DocumentProcessingInfoId])
|
||||
)
|
||||
Reference in New Issue
Block a user