This commit is contained in:
Zeeshaun
2026-03-31 16:43:12 -05:00
parent 9be174da46
commit d639027028
198 changed files with 111474 additions and 0 deletions
@@ -0,0 +1,7 @@
CREATE TABLE [dbo].[DnaAuditProcess]
(
[ProcessId] [int] IDENTITY(1,1) NOT NULL,
[DnaProcessType] [int] NOT NULL,
[LastUpdated] [datetime2](7) NOT NULL,
[ConsecutiveFailures] [int] NOT NULL,
)
@@ -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.MemberPreferencesApiSql</Name>
<SchemaVersion>2.0</SchemaVersion>
<ProjectVersion>4.1</ProjectVersion>
<ProjectGuid>{e747b744-2ee4-494c-918a-10ab7cbf3844}</ProjectGuid>
<DSP>Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider</DSP>
<OutputType>Database</OutputType>
<RootPath>
</RootPath>
<RootNamespace>LCU.API.Internal.MemberPreferencesApiSql</RootNamespace>
<AssemblyName>LCU.API.Internal.MemberPreferencesApiSql</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>
<GenerateCreateScript>False</GenerateCreateScript>
</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="DnaAuditProcess.sql" />
<Build Include="MemberOptInSettings.sql" />
<Build Include="MemberPreference.sql" />
<Build Include="XdiBatchItems.sql" />
</ItemGroup>
</Project>
@@ -0,0 +1,31 @@
CREATE TABLE [dbo].[MemberOptInSettings]
(
[Id] [int] IDENTITY(1,1) NOT NULL,
[CreatedBy] [nvarchar](max) NULL,
[Created] [datetime2](7) NOT NULL,
[CreatedByType] [int] NOT NULL,
[LastUpdatedBy] [nvarchar](max) NULL,
[LastUpdated] [datetime2](7) NOT NULL,
[LastUpdatedByType] [int] NOT NULL,
[UserId] [varchar](32) NOT NULL,
[EStatements] [nvarchar](max) NULL,
[ENotifications] [nvarchar](max) NULL,
[UniversalOptIn] [nvarchar](max) NULL,
[LegalVersion] [nvarchar](max) NULL,
[LegalDate] [datetime2](7) NULL,
[UnifiedOptInEmail] [nvarchar](max) NULL,
[ENotificationsEmail] [nvarchar](max) NULL,
[EStatementsEmail] [nvarchar](max) NULL,
[ENotificationsEmailFirstSent] [datetime2](7) NULL,
[ENotificationsEmailLastSent] [datetime2](7) NULL,
[ENotificationsEmailStatus] [int] NULL,
[ENotificationsEmailStatusCount] [int] NOT NULL,
[EStatementsEmailFirstSent] [datetime2](7) NULL,
[EStatementsEmailLastSent] [datetime2](7) NULL,
[EStatementsEmailStatus] [int] NULL,
[EStatementsEmailStatusCount] [int] NOT NULL,
[UnifiedOptInEmailFirstSent] [datetime2](7) NULL,
[UnifiedOptInEmailLastSent] [datetime2](7) NULL,
[UnifiedOptInEmailStatus] [int] NULL,
[UnifiedOptInEmailStatusCount] [int] NOT NULL,
)
@@ -0,0 +1,14 @@
CREATE TABLE [dbo].[MemberPreference]
(
[Id] [int] IDENTITY(1,1) NOT NULL,
[CreatedBy] [nvarchar](max) NULL,
[Created] [datetime2](7) NOT NULL,
[CreatedByType] [int] NOT NULL,
[LastUpdatedBy] [nvarchar](max) NULL,
[LastUpdated] [datetime2](7) NOT NULL,
[LastUpdatedByType] [int] NOT NULL,
[UserId] [varchar](32) NOT NULL,
[Preference] [int] NOT NULL,
[Value] [nvarchar](max) NULL,
[LegalReference] [nvarchar](max) NULL,
)
@@ -0,0 +1,7 @@
CREATE TABLE [dbo].[XdiBatchItems]
(
[UserId] [varchar](32) NOT NULL,
[BatchState] [int] NOT NULL,
[Created] [datetime2](7) NOT NULL,
[LastUpdated] [datetime2](7) NOT NULL,
)