135. 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.

135.1 Files compared

# Location File Last Modified
1 Direct_DSM.zip\Direct_DSM\libraries\migrations v1-9.sql Tue Aug 13 17:30:04 2019 UTC
2 Direct_DSM.zip\Direct_DSM\libraries\migrations v1-9.sql Wed Aug 14 12:39:41 2019 UTC

135.2 Comparison summary

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

135.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

135.4 Active regular expressions

No regular expressions were active.

135.5 Comparison detail

  1   -- ENVIRON MENT CHANG ES FOR v1. 9
  2   -- Constan ts were ch anged for  this relea se
  3   -- VAD-202 7: Two new  additions  to api.in i.  Local  values are :
  4   --        vap_uri="h ttp:// IP                   /XACMLCont extHandler Service/XA CMLContext HandlerSer vice?WSDL"
  5   --      va p_home_com munity_id= "2.16.840. 1.113883.4 .349"
  6   -- VAD-217 0 includes  environme nt changes  that ever yone will  need in or der to sup port file  transfers.   Instruct ions are i n a commen t on the t icket.
  7   -- VAD-216 8 includes  environme nt changes  to suppor t the file  transfer  domain.  I nstruction s are in a  comment o n the tick et.
  8   -- VAD-225 1 includes  instructi ons for ch anging the  packet si ze for you r SQL Serv er databas e on a com ment on th e ticket.   Packet si ze should  be set to  the maximu m (16,383B ).
  9  
  10   --SQL FOR  v1.9
  11  
  12   --supporti ng VAD-215 4 (Updatin g the "adm in_account _list" Tab le for the  new Globa l Contacts  model)
  13   ALTER TABL E direct.d bo.admin_c ontact_lis t
  14   ADD modifi ed_by bigi nt NULL;
  15  
  16   ALTER TABL E direct.d bo.admin_c ontact_lis t
  17   ADD modifi ed_at bigi nt NULL;
  18  
  19   ALTER TABL E direct.[ dbo].[admi n_contact_ list]  
  20   WITH CHECK  ADD  CONS TRAINT [FK _modified_ by_users] 
  21   FOREIGN KE Y([modifie d_by])
  22   REFERENCES  direct.[d bo].[users ] ([user_i d]);
  23                             
  24   ALTER TABL E direct.d bo.admin_c ontact_lis t
  25   ALTER COLU MN sharing  nvarchar( MAX) NULL;
  26  
  27  
  28   --supporti ng VAD-215 6 (large f ile transf ers)
  29   CREATE TAB LE [mail]. [dbo].[fil e_transfer s](
  30           [i d] [bigint ] IDENTITY (1,1) NOT  NULL CONST RAINT PK_f ile_transf er PRIMARY  KEY,
  31           [n ame] [nvar char](260)  NOT NULL,
  32           [t ype] [nvar char](255)  NOT NULL,
  33           [s ize] [bigi nt] NOT NU LL,
  34           [h ash] [ncha r](40) NOT  NULL,
  35           [c ontent] [v arbinary]( max) NOT N ULL,
  36           [r ecipient]  [nvarchar] (255) NOT  NULL,
  37           [m essage_id]  [bigint]  NOT NULL C ONSTRAINT  FK_file_tr ansfer_to_ messages F OREIGN KEY  reference s dbo.mess ages (id),         
  38           [n ote][nvarc har](max)  NULL,
  39           [n otify_on_d ownload] [ bit] NOT N ULL DEFAUL T 0,
  40           [d ownloaded_ by] [bigin t] NULL,
  41           [d ownloaded_ at] [bigin t] NULL,
  42           [c reated_by]  [bigint]  NOT NULL,
  43           [c reated_at]  [bigint]  NOT NULL D EFAULT DAT EDIFF(s, ' 19700101',  GETUTCDAT E()), 
  44           [m odified_by ] [bigint]  NOT NULL,
  45           [m odified_at ] [bigint]  NOT NULL  DEFAULT DA TEDIFF(s,  '19700101' , GETUTCDA TE()),
  46   );
  47  
  48   --supporti ng VAD-217 2 (New dat abase tabl e to store  shared gl obal conta cts data)
  49   CREATE TAB LE [direct ].[dbo].[g lobal_cont acts_share d](
  50           [c ontact_id]  [bigint]  NOT NULL C ONSTRAINT  FK_shared_ global_con tacts FORE IGN KEY re ferences d bo.admin_c ontact_lis t (contact _id),
  51           [u ser_id] [b igint] NOT  NULL CONS TRAINT FK_ global_con tacts_shar ed_with_us ers FOREIG N KEY refe rences dbo .users (us er_id), 
  52           CO NSTRAINT s hared_glob al_contact s_unique U NIQUE(cont act_id, us er_id)
  53   );
  54  
  55   --supporti ng VAD-222 9 (large f ile transf ers via ap i)
  56   ALTER TABL E [mail].[ dbo].[file _transfers ] ALTER CO LUMN [reci pient] [nv archar](25 5) NULL;
  57  
  58   --suportin g VAD-2168  (add pass code to fi le tranfer s)
  59   ALTER TABL E mail.dbo .file_tran sfers
  60   ADD passco de nvarcha r(15) NULL ;
  61  
  62   ALTER TABL E mail.dbo .file_tran sfers
  63   ADD downlo aded_by_ip  nvarchar( 39) NULL;
  64  
  65   -- allowin g file tra nsfer cont ent to be  deleted af ter it has  expired
  66   ALTER TABL E mail.dbo .file_tran sfers
  67   ALTER COLU MN content  [varbinar y](max) NU LL;
  68  
  69   ALTER TABL E mail.dbo .file_tran sfers
  70   ADD upload _progress  tinyint DE FAULT 0;
  71  
  72   UPDATE mai l.dbo.file _transfers
  73   SET upload _progress= 100; -- ex isting fil e transfer s are alre ady upload ed and can  be set to  100