-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix: reset/regenerate memories #16548
Conversation
jrasm91
commented
Mar 3, 2025
- Delete all memories
- Reset memory "last run" tracker
- Automatically queue memory generation for impacted users
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.
40 😤
name = 'ResetMemories1741027685381'; | ||
|
||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`DELETE FROM "memories"`); |
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.
Do we need cascade option here? When I run the truncate commands, it needs that
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.
Hmm. I tested this and didn't need it so I don't think so
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.
Delete should automatically cascade where as truncate won't without explicitly saying cascade
…n-grid * main: (32 commits) docs: clean up environment variables formatting & grammar (immich-app#16555) fix: reset/regenerate memories (immich-app#16548) fix(deps): update machine-learning (immich-app#16560) chore(deps): update node (immich-app#16538) refactor: migration tag repository to kysely (immich-app#16398) feat: qr code for new shared link (immich-app#16543) chore(deps): update github-actions (immich-app#16539) fix(docs): info on preloading ML models (immich-app#16452) docs: better facial recognition cluster guide (immich-app#14911) fix(web): delete action closes asset viewer in asset view (immich-app#15469) feat(cli): watch paths for auto uploading daemon (immich-app#14923) ci: weblate checks should always run, should skip on en.json (immich-app#16544) feat(web): Video memories on web (immich-app#16500) fix(deps): update typescript-projects (immich-app#16540) chore(mobile): fix store.put type def (immich-app#16517) refactor(mobile): move timeline methods to timeline repo (immich-app#16526) chore(deps): update dependency eslint-plugin-svelte to v3 (immich-app#16532) refactor(server): link live photos as part of metadata extraction instead of queueing job (immich-app#16390) chore(deps): update dependency globals to v16 (immich-app#16534) ci: don't check weblate lock on chore/translations and add success job (immich-app#16533) ...