Subversion Repositories computer_asset_manager_v1

Rev

Go to most recent revision | Details | 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
 
7
delete from _system where group_name = 'Modules' and key_name = 'Documents';
8
 
9
 
10
/* Menu Options */
11
create table temp 
12
   select * 
13
   from menu 
14
   where parent_id is null or parent_id not in  (select menu_id from menu where caption = 'Documents');
15
delete from menu;
16
insert into menu select * from temp;
17
drop table temp;
18
delete from menu where caption = 'Documents' and parent_id is null;
19