diff --git a/server/src/infra/migrations/1709763765506-AddExtensionToOriginalFileName.ts b/server/src/infra/migrations/1709763765506-AddExtensionToOriginalFileName.ts index 526d09ccf4..d1f73b4e3b 100644 --- a/server/src/infra/migrations/1709763765506-AddExtensionToOriginalFileName.ts +++ b/server/src/infra/migrations/1709763765506-AddExtensionToOriginalFileName.ts @@ -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; `); }