Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update campaign_contact.updated_at on change #2363

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sjwmoveon
Copy link
Collaborator

@sjwmoveon sjwmoveon commented May 3, 2024

Fixes #2361

Description

Add a trigger on the campaign_contact table to update the "updated_at" column whenever changes are made to the table.

Checklist:

  • I have manually tested my changes on desktop and mobile
    N/A - change is a database migration
  • The test suite passes locally with my changes
  • If my change is a UI change, I have attached a screenshot to the description section of this pull request
  • My change is 300 lines of code or less, or has a documented reason in the description why it’s longer
  • I have made any necessary changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
    N/A - change is a database migration
  • My PR is labeled [WIP] if it is in progress

@crayolakat crayolakat self-requested a review May 3, 2024 18:45
@sjwmoveon sjwmoveon changed the title Patch 1 Update campaign_contact.updated_at on change May 3, 2024
@crayolakat
Copy link
Collaborator

Looks good!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Campaign contact "updated_at" not updated when reassigning contacts
2 participants