Skip to content

Commit cf68fa8

Browse files
author
bkaminski
committed
OP-96: Added PaymentUUID
1 parent 963eeff commit cf68fa8

4 files changed

Lines changed: 7 additions & 0 deletions

File tree

90 Bytes
Binary file not shown.
90 Bytes
Binary file not shown.
90 Bytes
Binary file not shown.

Migration script/openIMIS migration v1.3.0 - v1.4.0.sql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3306,3 +3306,10 @@ GO
33063306
ALTER TABLE tblUsers CHECK CONSTRAINT FK_tblLanguages_tblUsers
33073307
GO
33083308

3309+
-- OP-96: Preparing the migration script for an existing database (Add UUID for Payment)
3310+
3311+
IF COL_LENGTH('tblPayment', 'PaymentUUID') IS NULL
3312+
BEGIN
3313+
ALTER TABLE tblPayment ADD PaymentUUID uniqueidentifier NOT NULL DEFAULT NEWID()
3314+
END
3315+

0 commit comments

Comments
 (0)