File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1939,7 +1939,7 @@ CREATE TABLE [dbo].[tblPremium](
1939
1939
[OverviewCommissionReport] datetime NULL ,
1940
1940
[AllDetailsCommissionReport] datetime NULL ,
1941
1941
[ReportingCommissionID] [int] NULL ,
1942
- [CreatedDate] [datetime] NULL CONSTRAINT DF_tblPremium_CreatedDate DEFAULT GETDATE (),
1942
+ [CreatedDate] [datetime] NOT NULL DEFAULT GETDATE (),
1943
1943
[Source] [nvarchar](50 ) NULL ,
1944
1944
[SourceVersion] [nvarchar](15 ) NULL
1945
1945
CONSTRAINT [PK_tblPremium] PRIMARY KEY CLUSTERED
Original file line number Diff line number Diff line change @@ -3188,8 +3188,8 @@ IF OBJECT_ID('FK_tblPaymentDetails_tblPayment') IS NULL
3188
3188
-- OTC-511
3189
3189
IF COL_LENGTH (N ' tblPremium' , N ' CreatedDate' ) IS NULL
3190
3190
ALTER TABLE tblPremium
3191
- ADD [CreatedDate] DATETIME NULL CONSTRAINT DF_tblPremium_CreatedDate DEFAULT GETDATE ()
3192
-
3191
+ ADD [CreatedDate] DATETIME NOT NULL DEFAULT GETDATE ()
3192
+ UPDATE tblPremium SET CreatedDate = ValidityFrom
3193
3193
GO
3194
3194
3195
3195
-- OTC-520
You can’t perform that action at this time.
0 commit comments