mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
fix(server): add extension to filename migration (#7697)
This commit is contained in:
parent
e823b39579
commit
2dcd0e516f
@ -10,7 +10,7 @@ export class AddExtensionToOriginalFileName1709763765506 implements MigrationInt
|
||||
UPDATE assets
|
||||
SET "originalFileName" = assets."originalFileName" || '.' || extension."ext"
|
||||
FROM extension
|
||||
INNER JOIN assets a ON a.id = extension.id;
|
||||
WHERE assets.id = extension.id;
|
||||
`);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user