Adding
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
<?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="7e0114b9-c26e-458a-965e-3af6daf9c6b3" ChangeDateTime="12/01/2023 20:01:49">
|
||||
<Property Name="ElementName" Value="[dbo].[LoadTestRunInfo].[Id]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[LoadTestRunInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="LoadTestRunInfoId" />
|
||||
</Operation>
|
||||
<Operation Name="Rename Refactor" Key="94a54b83-1b23-4a32-8534-165aaf26ff7c" ChangeDateTime="12/01/2023 20:02:48">
|
||||
<Property Name="ElementName" Value="[dbo].[RateProcessingInfo].[Id]" />
|
||||
<Property Name="ElementType" Value="SqlSimpleColumn" />
|
||||
<Property Name="ParentElementName" Value="[dbo].[RateProcessingInfo]" />
|
||||
<Property Name="ParentElementType" Value="SqlTable" />
|
||||
<Property Name="NewName" Value="RateProcessingInfoId" />
|
||||
</Operation>
|
||||
</Operations>
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
<?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.LoanRateLoadTestingSql</Name>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectVersion>4.1</ProjectVersion>
|
||||
<ProjectGuid>{0687c40b-33b7-48fd-9611-c3af96987cbe}</ProjectGuid>
|
||||
<DSP>Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider</DSP>
|
||||
<OutputType>Database</OutputType>
|
||||
<RootPath>
|
||||
</RootPath>
|
||||
<RootNamespace>LCU.API.Internal.LoanRateLoadTestingSql</RootNamespace>
|
||||
<AssemblyName>LCU.API.Internal.LoanRateLoadTestingSql</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="LoadTestRunInfo.sql" />
|
||||
<Build Include="RateProcessingInfo.sql" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<RefactorLog Include="LCU.API.Internal.LoanRateLoadTestingSql.refactorlog" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE [dbo].[LoadTestRunInfo]
|
||||
(
|
||||
[LoadTestRunInfoId] INT NOT NULL PRIMARY KEY IDENTITY,
|
||||
[StartTimeStamp] DATETIME NOT NULL,
|
||||
[EndTimeStamp] DATETIME NULL,
|
||||
[RateType] INT NOT NULL,
|
||||
[RateProcessingInfosCount] INT NOT NULL,
|
||||
[RateProcessingInfosCompleteCount] INT NOT NULL
|
||||
)
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE [dbo].[RateProcessingInfo]
|
||||
(
|
||||
[RateProcessingInfoId] INT NOT NULL PRIMARY KEY IDENTITY,
|
||||
[LoadTestRunInfoId] INT NOT NULL,
|
||||
[Payload] VARCHAR(MAX) NOT NULL,
|
||||
[Rate] DECIMAL(18, 3) NOT NULL,
|
||||
[Column] VARCHAR(50) NULL,
|
||||
[Row] VARCHAR(50) NULL,
|
||||
[RateProcessingStatusType] INT NOT NULL,
|
||||
[RateProcessingResultType] INT NOT NULL DEFAULT 0,
|
||||
[ProcessingMessage] VARCHAR(1000) NULL,
|
||||
CONSTRAINT [FK_RateProcessingInfo_LoadTestRunInfo] FOREIGN KEY ([LoadTestRunInfoId]) REFERENCES [LoadTestRunInfo]([LoadTestRunInfoId])
|
||||
)
|
||||
Reference in New Issue
Block a user