Moving the arttags table to tags table part 2
This commit is contained in:
@ -13,7 +13,6 @@ export async function deleteArtwork(artworkId: string) {
|
||||
colors: true,
|
||||
metadata: true,
|
||||
tags: true,
|
||||
tagsV2: true,
|
||||
categories: true,
|
||||
},
|
||||
});
|
||||
@ -75,7 +74,6 @@ export async function deleteArtwork(artworkId: string) {
|
||||
where: { id: artworkId },
|
||||
data: {
|
||||
tags: { set: [] },
|
||||
tagsV2: { set: [] },
|
||||
categories: { set: [] },
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user