Changes between Version 5 and Version 6 of DatabaseCleanup
- Timestamp:
- Aug 3, 2016, 9:34:07 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DatabaseCleanup
v5 v6 75 75 order by rel.id; 76 76 }}} 77 78 The number of attributes without source_id (where a different version has a source_id) grouped by source object type. 79 {{{ 80 select count(*), source_obj_class from openmind.node 81 where 82 node_type = 'ATTRIBUTE' 83 and 84 source_id is not null 85 and id in 86 (select distinct id from openmind.node 87 where source_id is null 88 and node_type = 'ATTRIBUTE') 89 group by source_obj_class 90 }}}