Claim module: default values {feedback | review | approval | rejection } status not set

Description

When entering a claim feedback/review/... are not known yet.
Current code (explicitly) write NULL values, while database do foresee default values.

>> default values should be defined in django model

GO
ALTER TABLE [dbo].[tblClaim] ADD CONSTRAINT [DF_tblClaim_FeedbackStatus] DEFAULT ((1)) FOR [FeedbackStatus]
GO
ALTER TABLE [dbo].[tblClaim] ADD CONSTRAINT [DF_tblClaim_ReviewStatus] DEFAULT ((1)) FOR [ReviewStatus]
GO
ALTER TABLE [dbo].[tblClaim] ADD CONSTRAINT [DF_tblClaim_ApprovalStatus] DEFAULT ((1)) FOR [ApprovalStatus]
GO
ALTER TABLE [dbo].[tblClaim] ADD CONSTRAINT [DF_tblClaim_RejectionReason] DEFAULT ((0)) FOR [RejectionReason]

Assignee

Xavier Gillmann

Reporter

Xavier Gillmann

Labels

None

Priority

Medium
Configure