From 39081f84a402aebb52d98a43e4675c90135cea9b Mon Sep 17 00:00:00 2001
From: Alexander Sulfrian <alexander@sulfrian.net>
Date: Wed, 7 Dec 2011 19:06:52 +0100
Subject: added sql files

---
 sql/client_delete.sql | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 sql/client_delete.sql

(limited to 'sql/client_delete.sql')

diff --git a/sql/client_delete.sql b/sql/client_delete.sql
new file mode 100644
index 0000000..c242940
--- /dev/null
+++ b/sql/client_delete.sql
@@ -0,0 +1,9 @@
+delete from clients where client_id=:client_id:;
+delete from client_properties where id=:client_id:;
+delete from messages where message_to_client_id=:client_id:;
+delete from complains where complain_to_client_id=:client_id:;
+delete from group_channel_to_client where id1=:client_id:;
+delete from group_server_to_client where id1=:client_id:;
+delete from perm_client where id1=:client_id:;
+delete from perm_channel_clients where id2=:client_id:;
+delete from custom_fields where client_id=:client_id:;
\ No newline at end of file
-- 
cgit v1.2.3

