10 lines
286 B
TypeScript
10 lines
286 B
TypeScript
import { PrismaClient } from "@prisma/client";
|
|
const prisma = new PrismaClient();
|
|
async function main() {
|
|
await prisma.auditEvent.deleteMany({
|
|
where: { action: "A2A_NETWORK_BROADCAST" }
|
|
});
|
|
console.log("Cleared A2A audit logs.");
|
|
}
|
|
main().finally(() => prisma.$disconnect());
|