-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
base: main
Are you sure you want to change the base?
Conversation
server/src/sql-tools/from-code/decorators/composite-foreign-key.decorator.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
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 |
Yes, just change the name to be a bigger number |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
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:
src/services/
uses repositories implementations for database calls, filesystem operations, etc.src/repositories/
is pretty basic/simple and does not have any immich specific logic (that belongs insrc/services/
)