Skip to content

Commit

Permalink
Added new columns to account introduced by evergreen update wave2 202…
Browse files Browse the repository at this point in the history
…3 update (#824)
  • Loading branch information
MrKevJoy authored Sep 18, 2023
1 parent 4ae1b02 commit d604842
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
--adx_createdbyipaddress
if not exists (select 1 from information_schema.columns where table_name = 'account' and column_name = 'adx_createdbyipaddress')
alter table account add adx_createdbyipaddress nvarchar(100)

--adx_createdbyusername
if not exists (select 1 from information_schema.columns where table_name = 'account' and column_name = 'adx_createdbyusername')
alter table account add adx_createdbyusername nvarchar(100)

--adx_modifiedbyipaddress
if not exists (select 1 from information_schema.columns where table_name = 'account' and column_name = 'adx_modifiedbyipaddress')
alter table account add adx_modifiedbyipaddress nvarchar(100)

--adx_modifiedbyusername
if not exists (select 1 from information_schema.columns where table_name = 'account' and column_name = 'adx_modifiedbyusername')
alter table account add adx_modifiedbyusername nvarchar(100)

--msa_managingpartnerid
if not exists (select 1 from information_schema.columns where table_name = 'account' and column_name = 'msa_managingpartnerid')
alter table account add msa_managingpartnerid uniqueidentifier

--msa_managingpartnerid_entitytype
if not exists (select 1 from information_schema.columns where table_name = 'account' and column_name = 'msa_managingpartnerid_entitytype')
alter table account add msa_managingpartnerid_entitytype nvarchar(128)

--msa_managingpartneridname
if not exists (select 1 from information_schema.columns where table_name = 'account' and column_name = 'msa_managingpartneridname')
alter table account add msa_managingpartneridname nvarchar(160)

--msa_managingpartneridyominame
if not exists (select 1 from information_schema.columns where table_name = 'account' and column_name = 'msa_managingpartneridyominame')
alter table account add msa_managingpartneridyominame nvarchar(160)
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<None Remove="Dqt\Services\DqtReporting\Migrations\0005_ContactSlugId.sql" />
<None Remove="Dqt\Services\DqtReporting\Migrations\0006_Incident_msdyn_copilotengaged.sql" />
<None Remove="Dqt\Services\DqtReporting\Migrations\0007_ContactAllowpiiUpdatesFromRegister.sql" />
<None Remove="Dqt\Services\DqtReporting\Migrations\0008_EvergreenMissingColumns.sql" />
</ItemGroup>

<ItemGroup>
Expand All @@ -24,6 +25,7 @@
<EmbeddedResource Include="Dqt\Services\DqtReporting\Migrations\0005_ContactSlugId.sql" />
<EmbeddedResource Include="Dqt\Services\DqtReporting\Migrations\0006_Incident_msdyn_copilotengaged.sql" />
<EmbeddedResource Include="Dqt\Services\DqtReporting\Migrations\0007_ContactAllowpiiUpdatesFromRegister.sql" />
<EmbeddedResource Include="Dqt\Services\DqtReporting\Migrations\0008_EvergreenMissingColumns.sql" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit d604842

Please sign in to comment.