Improvements to the DateTime comparison when using "orCreate" methods
In this release, we improve the comparison logic used by firstOrCreate
, firstOrNew
, and updateOrCreate
methods to properly compare Luxon DateTime instances when finding or persisting a new row.
Commits
- Merge pull request #991 from adamcikado/develop 94b666a
- fix: compare DateTime in newUpIfMissing 669bdb3
- Merge pull request #1017 from adamcikado/feat/exports 92ed475
- fix: some typos (#1024) ba5961b
- chore: update postgresql version 7315d0e
- chore: update version & add cross-env 52906a5
- Merge pull request #1023 from MaximeMRF/fix/step-option-migrator b084678
- fix(migrator): step option 781c479
- feat: add missing exports 5d87cf8
What's Changed
- fix(migrator): step option by @MaximeMRF in #1023
- fix some typos by @TiBianMod in #1024
- feat: add missing exports by @adamcikado in #1017
- fix: compare DateTime in newUpIfMissing by @adamcikado in #991
New Contributors
- @TiBianMod made their first contribution in #1024
- @adamcikado made their first contribution in #1017
Full Changelog: v20.5.1...v20.6.0