Zmiany pomiędzy wersją 14 and wersją 15 dla DeployerGuide/Others/DatabaseCleanup

Pokaż
Ignoruj:
Data i czas:
10/08/16 10:33:05 (8 years temu)
Autor:
mkrolikowski (IP: 82.145.221.127)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • DeployerGuide/Others/DatabaseCleanup

    v14 v15  
    3131delete from procedures; 
    3232 
     33-- Czyszczenie logów 
     34delete from log; 
     35delete from log_trace; 
     36delete from login_history; 
     37 
     38-- Czyszczenie wszystkich Komentarzy 
     39delete from readed_comments; 
     40delete from comments; 
     41 
    3342-- czyszczenie usuniętych wpisów 
    3443DELETE from fk_elements WHERE doc_id IN (SELECT doc_id FROM documents where adduid IN (SELECT usr_id FROM users where is_del is true)); 
     
    3948 
    4049delete from readed_comments where usr_id IN (SELECT usr_id FROM users where is_del is true); 
    41 -- lub wszystkich komentarzy 
    42 delete from readed_comments; 
    43 delete from comments; 
    44 --------- 
    4550 
    4651delete from contacts_caretakers where usr_id IN (SELECT usr_id FROM users where is_del is true); 
     
    6671delete from documents where is_del is true; 
    6772 
    68 -- Czyszczenie logów 
    69 delete from log; 
    70 delete from log_trace; 
    71 delete from login_history; 
     73 
    7274 
    7375