-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new columns to account introduced by evergreen update wave2 202…
…3 update (#824)
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...ngRecordSystem.Core/Dqt/Services/DqtReporting/Migrations/0008_EvergreenMissingColumns.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters