Skip to content

Commit c2d965d

Browse files
committed
Update 20260504205806_AddSiteHasBeenApprovedFlag.cs
1 parent 3b0f511 commit c2d965d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

prime-dotnet-webapi/Migrations/20260504205806_AddSiteHasBeenApprovedFlag.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
2020
migrationBuilder.Sql(@"UPDATE ""Site"" s
2121
SET ""HasBeenApproved"" = true
2222
WHERE s.""Id"" in ( SELECT DISTINCT ""SiteId"" FROM ""BusinessEvent"" e WHERE e.""Description"" = 'Site Approved')
23-
OR s.""ApprovedDate"" IS NOT NULL");
23+
OR s.""ApprovedDate"" IS NOT NULL;");
2424
}
2525

2626
/// <inheritdoc />

0 commit comments

Comments
 (0)