134. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 8/16/2019 12:02:04 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

134.1 Files compared

# Location File Last Modified
1 Direct_DSM.zip\Direct_DSM\libraries\migrations v1-7.sql Tue Aug 13 17:30:04 2019 UTC
2 Direct_DSM.zip\Direct_DSM\libraries\migrations v1-7.sql Fri Aug 16 14:09:12 2019 UTC

134.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 130
Changed 1 2
Inserted 0 0
Removed 0 0

134.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

134.4 Active regular expressions

No regular expressions were active.

134.5 Comparison detail

  1   -- CONSTAN TS WERE CH ANGED FOR  THIS RELEA SE 
  2   -- THE RI  WAS UPDATE D FOR THIS  RELEASE ( VAD-1828)
  3   -- For VAD -1733, run  install/p opulate_pa tients_for _messages  (note that  it is saf e to run t his more t han once)
  4   -- For VAD -1896, the  certs dir ectory nee ds to be m oved outsi de the web  directory  and the f ollowing v ariables n eed to be  added to b oth webmai l.ini and  api.ini (a djust cert  paths as  needed):
  5   -- tls_ser ver_cert_p ath="W:/ht docs/certs /dbdev.pem "
  6   -- tls_ser ver_key_pa th="W:/htd ocs/certs/ dbdev.key"
  7  
  8   --BEGIN SQ L FOR BUIL D v1.7.0.1
  9   -- support ing VAD-18 28:
  10   use [mail]
  11   ALTER TABL E automati c_replies  ADD update d_at bigin t NOT NULL  CONSTRAIN T DefaultU pdate DEFA ULT (0)
  12   Go
  13   Update aut omatic_rep lies SET u pdated_at  = start_at  Where upd ated_at =  0 and star t_at is no t null
  14   Go
  15   ALTER TABL E automati c_replies
  16   DROP CONST RAINT Defa ultUpdate
  17   GO
  18   use [mail]
  19   EXEC sp_re name @objn ame='autom atic_reply _log.times tamp', @ne wname='sen t_at', @ob jtype='COL UMN'
  20   GO
  21   --END SQL  FOR BUILD  v1.7.0.1
  22  
  23   --BEGIN SQ L FOR BUIL D V1.7.0.2  
  24   --supporti ng VAD-182 4:
  25   ALTER TABL E mail.dbo .messages
  26   ADD is_aut omated bit  NOT NULL  DEFAULT 0;
  27  
  28   -- support ing VAD-19 08
  29   USE [api]
  30   SET ANSI_N ULLS ON
  31   SET QUOTED _IDENTIFIE R ON
  32   CREATE TAB LE [dbo].[ das_log_en tries](
  33   [id] [bigi nt] IDENTI TY(1,1) NO T NULL,
  34   [saved_dat e] [bigint ] NULL,
  35   [result_st atus] [nch ar](10) NU LL,
  36   [attachmen t_name] [n varchar](m ax) NULL,
  37   [hash_atta chment_nam e] [nvarch ar](512) N ULL,
  38   [das_docum ent_id] [n varchar](m ax) NULL,
  39   [message_i d] [bigint ] NULL,
  40   CONSTRAINT  [PK_das_l og_entries ] PRIMARY  KEY CLUSTE RED ([id]  ASC) WITH  (PAD_INDEX   = OFF, S TATISTICS_ NORECOMPUT E  = OFF,  IGNORE_DUP _KEY = OFF , ALLOW_RO W_LOCKS  =  ON, ALLOW _PAGE_LOCK S  = ON) O N [PRIMARY ]) ON [PRI MARY]
  41   --END SQL  FOR BUILD  V1.7.0.2
  42    
  43   --BEGIN SQ L FOR BUIL D V1.7.0.5
  44   --supporti ng VAD-190 7 (updates  to RI)                                                                                   
  45   INSERT INT O nhindcon fig.dbo.ma ilet_prope rties VALU ES ('direc t.apiurl',  ' DNS . URL '),
  46                                                                                                                     --('di rect.priva tekey', WE BSERVICE_P RIVATE_KEY ), --repla ce with th e value fo r WEBSERVI CE_PRIVATE _KEY in yo ur environ ment and u ncomment
  47                                                                                                                     --('di rect.publi ckey', WEB SERVICE_PU BLIC_KEY);  --replace  with the  value for  WEBSERVICE _PUBLIC_KE Y in your  environmen t and unco mment
  48                                                                                                                     
  49   --supporti ng VAD-182 3 (adding  report per missions)
  50   --permissi ons table
  51   INSERT [ap i].[dbo].[ permission s] ([name] , [parent_ id]) VALUE S (N'user_ summary_re port_contr oller', 1) ;
  52   INSERT [ap i].[dbo].[ permission s] ([name] , [parent_ id]) VALUE S (N'facil ity_report _controlle r', 1);
  53   INSERT [ap i].[dbo].[ permission s] ([name] , [parent_ id]) VALUE S (N'reque st_report_ controller ', 1);
  54   INSERT [ap i].[dbo].[ permission s] ([name] , [parent_ id]) VALUE S (N'event _report_co ntroller',  1);
  55   INSERT [ap i].[dbo].[ permission s] ([name] , [parent_ id]) VALUE S (N'login _report_co ntroller',  1);
  56   INSERT [ap i].[dbo].[ permission s] ([name] , [parent_ id]) VALUE S (N'mail_ report_con troller',  1);
  57   INSERT [ap i].[dbo].[ permission s] ([name] , [parent_ id]) VALUE S (N'group _summary_r eport_cont roller', 1 );
  58   INSERT [ap i].[dbo].[ permission s] ([name] , [parent_ id]) VALUE S (N'hisp_ report_con troller',  1);
  59   INSERT [ap i].[dbo].[ permission s] ([name] , [parent_ id]) VALUE S (N'point s_of_origi n_report_c ontroller' , 1);
  60   INSERT [ap i].[dbo].[ permission s] ([name] , [parent_ id]) VALUE S (N'adhoc _report_co ntroller',  1);
  61   --role_per missions t able
  62   insert int o api.dbo. role_permi ssions (ro le_name,pe rmission_i d) select  'reports',  id from a pi.dbo.per missions w here name  = 'reports ';
  63   insert int o api.dbo. role_permi ssions (ro le_name,pe rmission_i d) select  'reports',  id from a pi.dbo.per missions w here name  like '%_re port_contr oller';
  64  
  65  
  66