-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: using a conditional check on a nowOnUpdate Date attribute
We need to remove the legacy logic for trying to ensure we always update a Date with "nowOnUpdate" enabled. We now have a method on the table called "updateOnSaveAttributes" that ensures properties that need to self-check themselves do so, so this check is not necessary. By removing this, it allows you to use a conditional check comparison (such as in a transaction) against the date's previous value.
- Loading branch information
1 parent
04ea1ab
commit 074fe81
Showing
2 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
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
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