Go to most recent revision |
Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
49 |
rodolico |
1 |
drop table if exists license;
|
|
|
2 |
drop table if exists license_product;
|
|
|
3 |
delete from _system where key_name = 'license';
|
|
|
4 |
delete from menu
|
|
|
5 |
where
|
|
|
6 |
menu.parent_id in
|
|
|
7 |
( select menu_id
|
|
|
8 |
from (
|
|
|
9 |
select distinct a.menu_id as menu_id
|
|
|
10 |
from menu a join menu b on a.menu_id = b.menu_id
|
|
|
11 |
where a.caption = 'Licenses'
|
|
|
12 |
)
|
|
|
13 |
as c );
|
|
|
14 |
delete from menu where caption = 'Licenses';
|
|
|
15 |
|
|
|
16 |
create or replace view view_device_systems as select * from device where device_type_id in (select device_type_id from device_type where show_as_system = 'Y');
|
|
|
17 |
|