From e55be3df4197aa0bb5dce75a96919d5b10076d75 Mon Sep 17 00:00:00 2001
From: janek37 <none@none>
Date: Wed, 10 Jul 2013 13:51:04 +0200
Subject: [PATCH] skrypt sql do usuwania danych

---
 sql/delete_data.sql | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+), 0 deletions(-)
 create mode 100644 sql/delete_data.sql

diff --git a/sql/delete_data.sql b/sql/delete_data.sql
new file mode 100644
index 0000000..7ddd244
--- /dev/null
+++ b/sql/delete_data.sql
@@ -0,0 +1,45 @@
+SELECT set_config('var.user_id', '0', false);
+delete from dictionary_inputform;
+delete from dictionary_inputlexeme;
+delete from history;
+delete from dictionary_savedexportdata;
+delete from dictionary_savedfilter;
+delete from dictionary_lexemeform;
+delete from paradygmatywsjp;
+delete from naglowki_tabel;
+delete from komorki_tabel;
+delete from klatki;
+delete from szablony_tabel;
+delete from warianty;
+delete from odsylacze;
+delete from typyodsylaczy;
+delete from leksemy_w_slownikach;
+delete from kwalifikatory_odmieniasiow;
+delete from odmieniasie;
+delete from dictionary_lexemecv;
+delete from kwalifikatory_leksemow;
+delete from dictionary_lexemeav;
+delete from dictionary_lexemeattributevalue;
+delete from dictionary_lexemeattribute_inflection_characteristics;
+delete from dictionary_lexemeattribute_parts_of_speech;
+delete from dictionary_lexemeattribute;
+delete from leksemy;
+delete from kwalifikatory_zakonczen;
+delete from zakonczenia;
+delete from wzory;
+delete from typywzorow;
+delete from charfle;
+delete from efobazy;
+delete from klasygramatyczne;
+delete from czescimowy;
+delete from kwalifikatory;
+delete from klasy_wykluczania;
+
+--delete from wartosci_klasyfikacji;
+--delete from klasyfikacje;
+
+--delete from slowniki_managers;
+--delete from slowniki_editors;
+--delete from slowniki_classifications;
+--delete from slowniki_viewers;
+--delete from slowniki;
--
libgit2 0.22.2