Skip to content

Commit fb0c460

Browse files
authored
Merge pull request openimis#143 from openimis/feature/OP-780
OP-780: Increase DB Code fields to at least 50 chars and make the limitation based on configuration
2 parents fc55e57 + 909edb2 commit fb0c460

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+11959
-19470
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,5 @@ __pycache__/
262262

263263
/IMIS/Web.Debug.config
264264
/IMIS/Web.Release.config
265+
266+
output*

sql/base/1_schema_tables.sql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ CREATE TABLE [dbo].[tblClaim](
744744
[ClaimID] [int] IDENTITY(1,1) NOT NULL,
745745
[ClaimUUID] [uniqueidentifier] NOT NULL,
746746
[InsureeID] [int] NOT NULL,
747-
[ClaimCode] [nvarchar](8) NOT NULL,
747+
[ClaimCode] [nvarchar](50) NOT NULL,
748748
[DateFrom] [smalldatetime] NOT NULL,
749749
[DateTo] [smalldatetime] NULL,
750750
[ICDID] [int] NOT NULL,
@@ -1185,7 +1185,7 @@ CREATE TABLE [dbo].[tblFromPhone](
11851185
[DocStatus] [nvarchar](3) NULL,
11861186
[LandedDate] [datetime] NOT NULL,
11871187
[OfficerCode] [nvarchar](8) NULL,
1188-
[CHFID] [nvarchar](12) NULL,
1188+
[CHFID] [nvarchar](50) NULL,
11891189
[PhotoSumittedDate] [datetime] NULL,
11901190
[ClaimId] [int] NULL,
11911191
CONSTRAINT [PK_tblFromPhone] PRIMARY KEY CLUSTERED
@@ -1409,7 +1409,7 @@ CREATE TABLE [dbo].[tblInsuree](
14091409
[InsureeID] [int] IDENTITY(1,1) NOT NULL,
14101410
[InsureeUUID] [uniqueidentifier] NOT NULL,
14111411
[FamilyID] [int] NULL,
1412-
[CHFID] [nvarchar](12) NULL,
1412+
[CHFID] [nvarchar](50) NULL,
14131413
[LastName] [nvarchar](100) NOT NULL,
14141414
[OtherNames] [nvarchar](100) NOT NULL,
14151415
[DOB] [date] NOT NULL,
@@ -1731,7 +1731,7 @@ CREATE TABLE [dbo].[tblPhotos](
17311731
[PhotoID] [int] IDENTITY(1,1) NOT NULL,
17321732
[PhotoUUID] [uniqueidentifier] NOT NULL,
17331733
[InsureeID] [int] NULL,
1734-
[CHFID] [nvarchar](12) NULL,
1734+
[CHFID] [nvarchar](50) NULL,
17351735
[PhotoFolder] [nvarchar](255) NOT NULL,
17361736
[PhotoFileName] [nvarchar](250) NULL,
17371737
[OfficerID] [int] NOT NULL,
@@ -2313,7 +2313,7 @@ GO
23132313
CREATE TABLE [dbo].[tblSubmittedPhotos](
23142314
[PhotoId] [int] IDENTITY(1,1) NOT NULL,
23152315
[ImageName] [nvarchar](50) NULL,
2316-
[CHFID] [nvarchar](12) NULL,
2316+
[CHFID] [nvarchar](50) NULL,
23172317
[OfficerCode] [nvarchar](8) NULL,
23182318
[PhotoDate] [date] NULL,
23192319
[RegisterDate] [datetime] NULL,

0 commit comments

Comments
 (0)