mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
fix(server): add extension to filename migration (#7697)
This commit is contained in:
parent
e823b39579
commit
2dcd0e516f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ export class AddExtensionToOriginalFileName1709763765506 implements MigrationInt
|
||||||
UPDATE assets
|
UPDATE assets
|
||||||
SET "originalFileName" = assets."originalFileName" || '.' || extension."ext"
|
SET "originalFileName" = assets."originalFileName" || '.' || extension."ext"
|
||||||
FROM extension
|
FROM extension
|
||||||
INNER JOIN assets a ON a.id = extension.id;
|
WHERE assets.id = extension.id;
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue