-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(migration.sql): update migration to delete only listItem audits…
… with auditEvent set to 'REMINDER' refactor(listItemEvent.ts): remove unnecessary check for "id" in response
- Loading branch information
1 parent
3097a16
commit 2068e78
Showing
2 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/server/models/db/migrations/20230717140537_delete_unused_audits/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-- Delete all lstItem audit events. | ||
DELETE FROM "Audit" | ||
WHERE type = 'listItem'; | ||
WHERE type = 'listItem' AND "auditEvent" = 'REMINDER'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters