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 #13

Merged
merged 3 commits into from
May 3, 2024
Merged

Update campaign_contact.updated_at on change #13

merged 3 commits into from
May 3, 2024

Conversation

sjwmoveon
Copy link

@sjwmoveon sjwmoveon commented May 3, 2024

Fixes StateVoicesNational#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

Copy link

sonarcloud bot commented May 3, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@sjwmoveon sjwmoveon merged commit de74eb9 into main May 3, 2024
14 checks passed
@sjwmoveon sjwmoveon deleted the updatedat branch May 3, 2024 21:05
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