[MDS-6693] Enable same day start date as end date of previous appointments#3719
Merged
matbusby-fw merged 5 commits intodevelopfrom Oct 31, 2025
Merged
[MDS-6693] Enable same day start date as end date of previous appointments#3719matbusby-fw merged 5 commits intodevelopfrom
matbusby-fw merged 5 commits intodevelopfrom
Conversation
matbusby-fw
commented
Oct 30, 2025
| ALTER TABLE mine_party_appt DROP CONSTRAINT mine_party_appt_mine_guid_daterange_excl; | ||
|
|
||
| -- only constrain non-deleted contacts and allow overlaps on the end date | ||
| ALTER TABLE mine_party_appt ADD EXCLUDE USING gist ((mine_guid::text) WITH =, daterange(start_date,end_date,'[)') |
Collaborator
Author
There was a problem hiding this comment.
Makes the end date not be included in the restricted dates by changing daterange(start_date,end_date,'[])' to ``daterange(start_date,end_date,'[)'
taraepp
previously approved these changes
Oct 30, 2025
asinn134
previously approved these changes
Oct 30, 2025
|
|
|
|
asinn134
approved these changes
Oct 31, 2025
matbusby-fw
added a commit
that referenced
this pull request
Nov 5, 2025
…ments (#3719) * followup to mine manager appointment date updates * adjust test data to align with updated appointment date * adjust test data to align with updated appointment date * update test data to extend appointment end date * update test data to extend appointment end date --------- Co-authored-by: mat <matbusby@gmail.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Objective
Realized that the sub task of the ticket contained additional AC not covered in the original PR.
This addresses the ability to assign a start date for a mine party appointment that is the same date as the end date of a previous appointment.
MDS-6693