Commit e55be3df4197aa0bb5dce75a96919d5b10076d75
1 parent
98f7b781
skrypt sql do usuwania danych
Showing
1 changed file
with
45 additions
and
0 deletions
sql/delete_data.sql
0 → 100644
1 | +SELECT set_config('var.user_id', '0', false); | |
2 | +delete from dictionary_inputform; | |
3 | +delete from dictionary_inputlexeme; | |
4 | +delete from history; | |
5 | +delete from dictionary_savedexportdata; | |
6 | +delete from dictionary_savedfilter; | |
7 | +delete from dictionary_lexemeform; | |
8 | +delete from paradygmatywsjp; | |
9 | +delete from naglowki_tabel; | |
10 | +delete from komorki_tabel; | |
11 | +delete from klatki; | |
12 | +delete from szablony_tabel; | |
13 | +delete from warianty; | |
14 | +delete from odsylacze; | |
15 | +delete from typyodsylaczy; | |
16 | +delete from leksemy_w_slownikach; | |
17 | +delete from kwalifikatory_odmieniasiow; | |
18 | +delete from odmieniasie; | |
19 | +delete from dictionary_lexemecv; | |
20 | +delete from kwalifikatory_leksemow; | |
21 | +delete from dictionary_lexemeav; | |
22 | +delete from dictionary_lexemeattributevalue; | |
23 | +delete from dictionary_lexemeattribute_inflection_characteristics; | |
24 | +delete from dictionary_lexemeattribute_parts_of_speech; | |
25 | +delete from dictionary_lexemeattribute; | |
26 | +delete from leksemy; | |
27 | +delete from kwalifikatory_zakonczen; | |
28 | +delete from zakonczenia; | |
29 | +delete from wzory; | |
30 | +delete from typywzorow; | |
31 | +delete from charfle; | |
32 | +delete from efobazy; | |
33 | +delete from klasygramatyczne; | |
34 | +delete from czescimowy; | |
35 | +delete from kwalifikatory; | |
36 | +delete from klasy_wykluczania; | |
37 | + | |
38 | +--delete from wartosci_klasyfikacji; | |
39 | +--delete from klasyfikacje; | |
40 | + | |
41 | +--delete from slowniki_managers; | |
42 | +--delete from slowniki_editors; | |
43 | +--delete from slowniki_classifications; | |
44 | +--delete from slowniki_viewers; | |
45 | +--delete from slowniki; | |
... | ... |