Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions sql/base/1_schema_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,14 @@ CREATE TYPE [dbo].[xWards] AS TABLE(
)
GO

CREATE TYPE [dbo].[xBulkControlNumbers] AS TABLE(
BillId INT,
ProdId INT,
OfficerId INT,
Amount DECIMAL(18,2)
)
GO


SET ANSI_NULLS ON
GO
Expand Down
11 changes: 11 additions & 0 deletions sql/migrations/1_migration_latest.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9537,3 +9537,14 @@ IF COL_LENGTH(N'tblPremium', N'SourceVersion') IS NULL
ALTER TABLE tblPremium ADD SourceVersion NVARCHAR(15) NULL
GO

--OTC-619
IF TYPE_ID('xBulkControlNumbers') IS NULL
BEGIN
CREATE TYPE [dbo].[xBulkControlNumbers] AS TABLE(
BillId INT,
ProdId INT,
OfficerId INT,
Amount DECIMAL(18,2)
)
END
GO