Skip to content

Commit

Permalink
Clear all MQ events before full sync (#1213)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Feb 21, 2024
1 parent 399b1ee commit dc23eb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public SyncAllMqsFromCrmJob(

public async Task Execute(CancellationToken cancellationToken)
{
await _dbContext.Database.ExecuteSqlAsync($"delete from events where event_name = 'MandatoryQualificationMigratedEvent';");
await _dbContext.Database.ExecuteSqlAsync($"delete from events where event_name like 'MandatoryQualification%';");

const int pageSize = 1000;

Expand Down

0 comments on commit dc23eb9

Please sign in to comment.