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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Direct_DSM.zip\Direct_DSM\libraries\migrations | v1-6.sql | Tue Aug 13 17:30:04 2019 UTC |
| 2 | Direct_DSM.zip\Direct_DSM\libraries\migrations | v1-6.sql | Fri Aug 16 13:58:41 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 4 | 164 |
| Changed | 3 | 6 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | -- SQL FOR 1.6 RELEA SE | |
| 2 | -- This SQ L was prep ared for t he install ation guid e and adde d retroact ively to t his file, since we d idn't star t putting together m igration f iles until v1.7. If you run i nto any pr oblems run ning it, s hout out o n Slack an d let us k now so tha t we can m ake the ne ed adjustm ents. Aft er running all of th e migratio ns files u p until yo ur version of the co de, go to the /insta ll pages f or both si tes to ver ify that y ou have th e required database schema. | |
| 3 | ||
| 4 | ALTER TABL E api.dbo. account_re quest | |
| 5 | ADD domain nvarchar( 253) NOT N ULL DEFAUL T ' DNS . URL '; | |
| 6 | ||
| 7 | ALTER TABL E mail.dbo .mailboxes | |
| 8 | ADD domain nvarchar( 253) NOT N ULL DEFAUL T ' DNS . URL '; | |
| 9 | ||
| 10 | USE [direc t] | |
| 11 | SET ANSI_N ULLS ON | |
| 12 | SET QUOTED _IDENTIFIE R ON | |
| 13 | SET ANSI_P ADDING ON | |
| 14 | ||
| 15 | IF NOT EXI STS (SELEC T * FROM s ys.objects WHERE obj ect_id = O BJECT_ID(N '[dbo].[an nouncement s]') AND t ype in (N' U')) | |
| 16 | BEGIN | |
| 17 | USE [direc t] | |
| 18 | CREATE TAB LE [dbo].[ announceme nts]( | |
| 19 | [i d] [bigint ] IDENTITY (1,1) NOT NULL, | |
| 20 | [e nabled] [b it] NULL, | |
| 21 | [c ontent] [n varchar](1 000) NULL, | |
| 22 | [u pdated_at] [bigint] NULL, | |
| 23 | [u pdated_by] [bigint] NULL, | |
| 24 | CONSTRAIN T [PK_anno uncements] PRIMARY K EY NONCLUS TERED ([id ] ASC) | |
| 25 | WITH (PAD _INDEX = OFF, STATI STICS_NORE COMPUTE = OFF, IGNO RE_DUP_KEY = OFF, AL LOW_ROW_LO CKS = ON, ALLOW_PAG E_LOCKS = ON) ON [P RIMARY]) | |
| 26 | ON [PRIMA RY] | |
| 27 | END | |
| 28 | SET ANSI_P ADDING OFF | |
| 29 | SET IDENTI TY_INSERT [dbo].[ann ouncements ] ON | |
| 30 | INSERT [db o].[announ cements] ( [id], [con tent], [en abled], [u pdated_at] , [updated _by]) VALU ES (1,NULL ,0,NULL,NU LL) | |
| 31 | SET IDENTI TY_INSERT [dbo].[ann ouncements ] OFF | |
| 32 | IF NOT EXI STS (SELEC T * FROM s ys.foreign _keys WHER E object_i d = OBJECT _ID(N'[dbo ].[FK_upda ted_by]') AND parent _object_id = OBJECT_ ID(N'[dbo] .[announce ments]')) | |
| 33 | BEGIN | |
| 34 | ALTER TABL E [dbo].[a nnouncemen ts] WITH CHECK ADD CONSTRAIN T [FK_upda ted_by_use rs] FOREIG N KEY([upd ated_by]) | |
| 35 | REFERENCES [dbo].[us ers] ([use r_id]) | |
| 36 | END | |
| 37 | ||
| 38 | ||
| 39 | ||
| 40 | USE [mail] | |
| 41 | SET ANSI_N ULLS ON | |
| 42 | SET QUOTED _IDENTIFIE R ON | |
| 43 | SET ANSI_P ADDING ON | |
| 44 | IF NOT EXI STS (SELEC T * FROM s ys.objects WHERE obj ect_id = O BJECT_ID(N '[dbo].[au tomatic_re plies]') A ND type in (N'U')) | |
| 45 | BEGIN | |
| 46 | CREATE TAB LE mail.db o.automati c_replies( | |
| 47 | [i d] [bigint ] IDENTITY (1,1) NOT NULL, | |
| 48 | [m ailbox_id] [bigint] NOT NULL, | |
| 49 | [s tart_at] [ bigint] NU LL, | |
| 50 | [e nd_at] [bi gint] NULL , | |
| 51 | [c ontent] [n varchar](m ax) NOT NU LL, | |
| 52 | [u pdated_at] [bigint] NULL, | |
| 53 | CO NSTRAINT [ PK_automat ic_replies ] PRIMARY KEY NONCLU STERED ([i d] ASC) | |
| 54 | WI TH (PAD_IN DEX = OFF , STATISTI CS_NORECOM PUTE = OF F, IGNORE_ DUP_KEY = OFF, ALLOW _ROW_LOCKS = ON, AL LOW_PAGE_L OCKS = ON ) ON [PRIM ARY], | |
| 55 | UN IQUE([mail box_id]), | |
| 56 | CO NSTRAINT [ FK_automat ic_replies _mailbox] FOREIGN KE Y([mailbox _id]) | |
| 57 | REFE RENCES mai l.dbo.mail boxes(id) ON DELETE CASCADE) | |
| 58 | END | |
| 59 | ||
| 60 | ||
| 61 | USE [mail] | |
| 62 | SET ANSI_N ULLS ON | |
| 63 | SET QUOTED _IDENTIFIE R ON | |
| 64 | CREATE TAB LE [dbo].[ automatic_ reply_log] ( | |
| 65 | [i d] [bigint ] IDENTITY (1,1) NOT NULL, | |
| 66 | [a utomatic_r eply_id] [ bigint] NO T NULL, | |
| 67 | [e mail_addre ss] [nvarc har](max) NOT NULL, | |
| 68 | [s ent_at] [b igint] NUL L, | |
| 69 | CONSTRAIN T [PK_auto matic_repl y_tracker] PRIMARY K EY CLUSTER ED | |
| 70 | ( | |
| 71 | [i d] ASC | |
| 72 | )WITH (PAD _INDEX = OFF, STATI STICS_NORE COMPUTE = OFF, IGNO RE_DUP_KEY = OFF, AL LOW_ROW_LO CKS = ON, ALLOW_PAG E_LOCKS = ON) ON [P RIMARY] | |
| 73 | ) ON [PRIM ARY] | |
| 74 | ALTER TABL E [dbo].[a utomatic_r eply_log] WITH CHEC K ADD CON STRAINT [F K_automati c_reply_tr acker_auto matic_repl ies] FOREI GN KEY([au tomatic_re ply_id]) | |
| 75 | REFERENCES [dbo].[au tomatic_re plies] ([i d]) | |
| 76 | ON DELETE CASCADE | |
| 77 | ALTER TABL E [dbo].[a utomatic_r eply_log] CHECK CONS TRAINT [FK _automatic _reply_tra cker_autom atic_repli es] | |
| 78 | ||
| 79 | ||
| 80 | ||
| 81 | DELETE FRO M [nhindco nfig].[dbo ].[mailet_ properties ] WHERE na me = 'mail et.domain' ; | |
| 82 | INSERT INT O [nhindco nfig].[dbo ].[mailet_ properties ] (name, v alue) VALU ES ('maile t.domain', ' DNS . URL , DNS . URL '); | |
| 83 | ||
| 84 | ||
| 85 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.