From 8ed04f1513b7da0267d93b80f8b641a7b88a98bf Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Fri, 12 Apr 2024 20:04:30 -0300 Subject: [PATCH] Update chapter-06-gbapp-reference.md --- book/chapter-06-gbapp-reference.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/book/chapter-06-gbapp-reference.md b/book/chapter-06-gbapp-reference.md index 8a81aa4f..777f07f8 100644 --- a/book/chapter-06-gbapp-reference.md +++ b/book/chapter-06-gbapp-reference.md @@ -268,6 +268,14 @@ Is the implementation of new software based on existing software. The branch tak This in some way contributes to a better understanding of how it works. ## How To... +### Clean up bot directly on database +@@id = 0 +DELETE FROM GuaribasConversationMessage WHERE instanceId = @id +DELETE FROM GuaribasConversation WHERE instanceId = @id +DELETE FROM GuaribasUser WHERE instanceId = @id +DELETE FROM GuaribasAnswer WHERE instanceId = @id +DELETE FROM GuaribasQuestion WHERE instanceId = @id +DELETE FROM GuaribasPackage WHERE instanceId = @id ### Create a new keyword