mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 09:35:36 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
450c11a1da
1 changed files with 3 additions and 0 deletions
|
|
@ -50,6 +50,9 @@ export async function resetWebsite(
|
||||||
const { client, transaction } = prisma;
|
const { client, transaction } = prisma;
|
||||||
|
|
||||||
return transaction([
|
return transaction([
|
||||||
|
client.eventData.deleteMany({
|
||||||
|
where: { websiteId },
|
||||||
|
}),
|
||||||
client.websiteEvent.deleteMany({
|
client.websiteEvent.deleteMany({
|
||||||
where: { websiteId },
|
where: { websiteId },
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue