diff --git a/source/settlement-report/DatabaseMigration/Scripts/202409121100_Add_FilterProperties_to_SettlementReport.sql b/source/settlement-report/DatabaseMigration/Scripts/202409121100_Add_FilterProperties_to_SettlementReport.sql index 22bfa34..01781da 100644 --- a/source/settlement-report/DatabaseMigration/Scripts/202409121100_Add_FilterProperties_to_SettlementReport.sql +++ b/source/settlement-report/DatabaseMigration/Scripts/202409121100_Add_FilterProperties_to_SettlementReport.sql @@ -7,5 +7,9 @@ ADD [IncludeMonthlyAmount] [bit] NOT NULL DEFAULT(0); GO ALTER TABLE [settlementreports].[SettlementReport] -ADD [GridAreas] [nvarchar](2048) NOT NULL DEFAULT(''); +ADD [GridAreas] [nvarchar](2048) NOT NULL CONSTRAINT SettlementReport_GridAreas_Default_Constraint DEFAULT(''); +GO + +ALTER TABLE [settlementreports].[SettlementReport] +DROP CONSTRAINT SettlementReport_GridAreas_Default_Constraint GO \ No newline at end of file