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;