Subversion Repositories computer_asset_manager_v1

Rev

Rev 55 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 rodolico 1
drop table if exists document;
2
drop table if exists document_mime_type;
3
drop view if exists client_documents;
4
drop view if exists site_documents;
5
drop view if exists device_documents;
6
 
55 rodolico 7
delete from _system where group_name = 'Documents';
8
delete from _system where key_name = 'Documents';
1 rodolico 9
 
55 rodolico 10
delete from menu 
11
where 
12
   menu.parent_id in 
13
      ( select menu_id 
14
        from ( 
15
           select distinct a.menu_id as menu_id 
16
           from menu a join menu b on a.menu_id = b.menu_id 
17
           where a.caption = 'Documents' 
18
           ) 
19
      as c );
20
delete from menu where caption = 'Documents';
1 rodolico 21