Skip to content

fix(server): clear activity when asset is removed from album #19019

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

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

Conversation

dahool
Copy link
Collaborator

@dahool dahool commented Jun 8, 2025

This is an alternative fix for #17475 as discussed in PR #18927

Schema checks will fail since I cannot update activity.table.ts since this change is not supported yet

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if applicable
  • I have no unrelated changes in the PR.
  • I have confirmed that any new dependencies are strictly necessary.
  • I have written tests for new code (if applicable)
  • I have followed naming conventions/patterns in the surrounding code
  • All code in src/services/ uses repositories implementations for database calls, filesystem operations, etc.
  • All code in src/repositories/ is pretty basic/simple and does not have any immich specific logic (that belongs in src/services/)

Copy link
Member

@danieldietzler danieldietzler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dahool
Copy link
Collaborator Author

dahool commented Jun 19, 2025

I wonder, should I update the migration to be at the bottom? from my testing, the migration order seems to be important, and since there have been others added after I created the PR, I'm guessing it will fail to run on an existing system

@jrasm91
Copy link
Contributor

jrasm91 commented Jun 19, 2025

Yes, just change the name to be a bigger number

Copy link
Contributor

@jrasm91 jrasm91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

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

Successfully merging this pull request may close these issues.

4 participants