Skip to content

Commit

Permalink
Marking envelopes as incoming when processing for scheduled delivery …
Browse files Browse the repository at this point in the history
…w/ PostgreSQL. Big, huge egg on face bug.
  • Loading branch information
jeremydmiller committed Feb 19, 2025
1 parent 3669145 commit 03aa863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<NoWarn>1570;1571;1572;1573;1574;1587;1591;1701;1702;1711;1735;0618</NoWarn>
<ImplicitUsings>true</ImplicitUsings>
<Nullable>enable</Nullable>
<VersionPrefix>3.9.0</VersionPrefix>
<VersionPrefix>3.9.1</VersionPrefix>
<RepositoryUrl>$(PackageProjectUrl)</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public PostgresqlMessageStore(DatabaseSettings databaseSettings, DurabilitySetti
settings, logger, new PostgresqlMigrator(), "public")
{
_reassignIncomingSql =
$"update {SchemaName}.{DatabaseConstants.IncomingTable} set owner_id = @owner where id = ANY(@ids)";
$"update {SchemaName}.{DatabaseConstants.IncomingTable} set owner_id = @owner, status = '{EnvelopeStatus.Incoming}' where id = ANY(@ids)";
_deleteOutgoingEnvelopesSql =
$"delete from {SchemaName}.{DatabaseConstants.OutgoingTable} WHERE id = ANY(@ids);";

Expand Down

0 comments on commit 03aa863

Please sign in to comment.