mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 01:11:32 +03:00
fix: bad merge (#23610)
This commit is contained in:
@@ -96,7 +96,7 @@ where
|
||||
|
||||
-- TagRepository.upsertAssetIds
|
||||
insert into
|
||||
"tag_asset" ("assetId", "tagsIds")
|
||||
"tag_asset" ("assetId", "tagIds")
|
||||
values
|
||||
($1, $2)
|
||||
on conflict do nothing
|
||||
|
||||
@@ -128,7 +128,7 @@ export class TagRepository {
|
||||
await this.db.deleteFrom('tag_asset').where('tagId', '=', tagId).where('assetId', 'in', assetIds).execute();
|
||||
}
|
||||
|
||||
@GenerateSql({ params: [[{ assetId: DummyValue.UUID, tagsIds: [DummyValue.UUID] }]] })
|
||||
@GenerateSql({ params: [[{ assetId: DummyValue.UUID, tagIds: DummyValue.UUID }]] })
|
||||
@Chunked()
|
||||
upsertAssetIds(items: Insertable<TagAssetTable>[]) {
|
||||
if (items.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user