Skip to content

Conversation

@skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Oct 29, 2025

Summary

Some tags can be created with empty whitespace or \t or \r... etc
This leads to confusion on the handling of tags.

Details

  • Added creation/update sanitization
  • Added repair step
    1. We sanitize all names and compute potential duplicates
    2. We determine which tag to keep from duplicates
    3. We delete ALL files mappings from duplicate tags that conflict
    4. We update all remaining files mappings from duplicates (no conflicts as we just removed those on the previous step)
    5. We then delete duplicate tags
    6. Finally, we sanitize the kept tag name if needed

Important

  1. If two duplicate tags have different permissions: we do NOTHING and we display a warning.
  2. This is an expensive repair step, it will NOT be run on upgrade, but on demand. A message will be added on the setup-check if it needs to run.

Testing

Here is a SQL script to populate the tables with fake data (click to expand)
-- Clear existing test data
DELETE FROM oc_systemtag_object_mapping WHERE systemtagid IN (SELECT id FROM oc_systemtag WHERE id BETWEEN 1 AND 21);
DELETE FROM oc_systemtag WHERE id BETWEEN 1 AND 21;

-- Insert test tags with various scenarios
-- NOTE: These bypass the unique constraint because they have different actual names (with spaces/emojis)
-- But after sanitization, they become duplicates

-- Scenario 1: Simple duplicates with whitespace (same visibility/editable - SHOULD MERGE)
-- After sanitization: all become "Important"
-- Using newlines and tabs which sanitize to spaces, then get trimmed
INSERT INTO oc_systemtag (id, name, visibility, editable, etag, color) VALUES
(1, 'Important', 1, 1, 'etag1', 'FF0000'),
(2, CONCAT('Important', CHAR(10)), 1, 1, 'etag2', 'FF0000'),
(3, CONCAT(CHAR(10), 'Important'), 1, 1, 'etag3', 'FF0000');

-- Scenario 2: Duplicates with emoji variations (same visibility/editable - SHOULD MERGE)
INSERT INTO oc_systemtag (id, name, visibility, editable, etag, color) VALUES
(4, 'Urgent', 1, 1, 'etag4', 'FFA500'),
(5, 'Urgent 🔥', 1, 1, 'etag5', 'FFA500'),
(6, CONCAT('Urgent', CHAR(9)), 1, 1, 'etag6', 'FFA500');

-- Scenario 3: Duplicates with DIFFERENT visibility (SHOULD NOT MERGE - security issue)
INSERT INTO oc_systemtag (id, name, visibility, editable, etag, color) VALUES
(7, 'Confidential', 0, 0, 'etag7', '000000'),
(8, CONCAT('Confidential', CHAR(10)), 1, 1, 'etag8', '000000'),
(9, CONCAT(CHAR(9), 'Confidential'), 0, 0, 'etag9', '000000');

-- Scenario 4: Duplicates with DIFFERENT editable (SHOULD NOT MERGE - security issue)
INSERT INTO oc_systemtag (id, name, visibility, editable, etag, color) VALUES
(10, 'Archive', 1, 0, 'etag10', '808080'),
(11, CONCAT('Archive', CHAR(10)), 1, 1, 'etag11', '808080');

-- Scenario 5: Tags that need sanitization but are unique (no merge needed)
INSERT INTO oc_systemtag (id, name, visibility, editable, etag, color) VALUES
(12, CONCAT('Project', CHAR(9), CHAR(9), 'Alpha', CHAR(9), CHAR(9)), 1, 1, 'etag12', '0000FF'),
(13, CONCAT('Meeting Notes', CHAR(9), CHAR(9), CHAR(9)), 1, 1, 'etag13', '00FF00');

-- Scenario 6: Complex duplicates with multiple trailing/leading spaces
INSERT INTO oc_systemtag (id, name, visibility, editable, etag, color) VALUES
(14, 'ToDo', 1, 1, 'etag14', 'FFFF00'),
(15, CONCAT('ToDo', CHAR(9), CHAR(9)), 1, 1, 'etag15', 'FFFF00'),
(16, CONCAT(CHAR(10), CHAR(10), 'ToDo'), 1, 1, 'etag16', 'FFFF00'),
(17, CONCAT(CHAR(10), CHAR(10), 'ToDo', CHAR(9), CHAR(9)), 1, 1, 'etag17', 'FFFF00');

-- Scenario 7: Restricted tags that should merge safely
INSERT INTO oc_systemtag (id, name, visibility, editable, etag, color) VALUES
(18, 'Internal', 0, 0, 'etag18', 'FF00FF'),
(19, CONCAT('Internal', CHAR(10)), 0, 0, 'etag19', 'FF00FF');

-- Scenario 8: Tag with many mappings vs tag with few (tests "keep most used" logic)
INSERT INTO oc_systemtag (id, name, visibility, editable, etag, color) VALUES
(20, 'Popular', 1, 1, 'etag20', '00FFFF'),
(21, CONCAT('Popular', CHAR(13)), 1, 1, 'etag21', '00FFFF');


-- Generate mappings for tag 1 (Important) - 100 files
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_2', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_3', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_4', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_5', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_6', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_7', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_8', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_9', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_10', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_11', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_12', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_13', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_14', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_15', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_16', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_17', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_18', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_19', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_20', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_21', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_22', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_23', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_24', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_25', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_26', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_27', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_28', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_29', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_30', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_31', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_32', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_33', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_34', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_35', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_36', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_37', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_38', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_39', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_40', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_41', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_42', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_43', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_44', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_45', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_46', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_47', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_48', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_49', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_50', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_51', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_52', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_53', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_54', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_55', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_56', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_57', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_58', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_59', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_60', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_61', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_62', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_63', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_64', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_65', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_66', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_67', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_68', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_69', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_70', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_71', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_72', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_73', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_74', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_75', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_76', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_77', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_78', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_79', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_80', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_81', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_82', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_83', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_84', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_85', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_86', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_87', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_88', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_89', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_90', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_91', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_92', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_93', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_94', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_95', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_96', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_97', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_98', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_99', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_100', 'files', 1);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_101', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_102', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_103', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_104', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_105', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_106', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_107', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_108', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_109', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_110', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_111', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_112', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_113', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_114', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_115', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_116', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_117', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_118', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_119', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_120', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_121', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_122', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_123', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_124', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_125', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_126', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_127', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_128', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_129', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_130', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_131', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_132', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_133', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_134', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_135', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_136', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_137', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_138', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_139', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_140', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_141', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_142', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_143', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_144', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_145', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_146', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_147', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_148', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_149', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_150', 'files', 2);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_151', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_152', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_153', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_154', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_155', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_156', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_157', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_158', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_159', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_160', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_161', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_162', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_163', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_164', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_165', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_166', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_167', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_168', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_169', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_170', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_171', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_172', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_173', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_174', 'files', 3);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_175', 'files', 3);

-- Conflict scenarios: files tagged with multiple "duplicate" tags
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES
('file_50', 'files', 2),   -- file_50 now has both tag 1 and 2 (both "Important")
('file_75', 'files', 2),   -- file_75 has tag 1, 2, and 3
('file_75', 'files', 3);

INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_200', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_201', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_202', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_203', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_204', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_205', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_206', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_207', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_208', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_209', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_210', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_211', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_212', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_213', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_214', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_215', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_216', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_217', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_218', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_219', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_220', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_221', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_222', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_223', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_224', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_225', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_226', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_227', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_228', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_229', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_230', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_231', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_232', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_233', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_234', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_235', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_236', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_237', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_238', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_239', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_240', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_241', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_242', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_243', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_244', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_245', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_246', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_247', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_248', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_249', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_250', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_251', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_252', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_253', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_254', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_255', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_256', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_257', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_258', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_259', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_260', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_261', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_262', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_263', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_264', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_265', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_266', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_267', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_268', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_269', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_270', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_271', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_272', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_273', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_274', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_275', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_276', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_277', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_278', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_279', 'files', 4);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_280', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_281', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_282', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_283', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_284', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_285', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_286', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_287', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_288', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_289', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_290', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_291', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_292', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_293', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_294', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_295', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_296', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_297', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_298', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_299', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_300', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_301', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_302', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_303', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_304', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_305', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_306', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_307', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_308', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_309', 'files', 5);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_310', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_311', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_312', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_313', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_314', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_315', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_316', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_317', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_318', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_319', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_320', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_321', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_322', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_323', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_324', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_325', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_326', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_327', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_328', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_329', 'files', 6);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES
('file_200', 'files', 5),
('file_200', 'files', 6),
('file_250', 'files', 6);

INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_400', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_401', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_402', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_403', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_404', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_405', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_406', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_407', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_408', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_409', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_410', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_411', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_412', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_413', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_414', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_415', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_416', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_417', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_418', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_419', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_420', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_421', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_422', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_423', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_424', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_425', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_426', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_427', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_428', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_429', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_430', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_431', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_432', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_433', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_434', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_435', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_436', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_437', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_438', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_439', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_440', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_441', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_442', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_443', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_444', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_445', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_446', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_447', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_448', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_449', 'files', 7);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_450', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_451', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_452', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_453', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_454', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_455', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_456', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_457', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_458', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_459', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_460', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_461', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_462', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_463', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_464', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_465', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_466', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_467', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_468', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_469', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_470', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_471', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_472', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_473', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_474', 'files', 8);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_500', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_501', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_502', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_503', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_504', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_505', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_506', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_507', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_508', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_509', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_510', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_511', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_512', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_513', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_514', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_515', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_516', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_517', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_518', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_519', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_520', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_521', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_522', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_523', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_524', 'files', 10);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_525', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_526', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_527', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_528', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_529', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_530', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_531', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_532', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_533', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_534', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_535', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_536', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_537', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_538', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_539', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_540', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_541', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_542', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_543', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_544', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_545', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_546', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_547', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_548', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_549', 'files', 11);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_600', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_601', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_602', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_603', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_604', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_605', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_606', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_607', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_608', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_609', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_610', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_611', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_612', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_613', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_614', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_615', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_616', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_617', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_618', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_619', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_620', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_621', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_622', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_623', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_624', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_625', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_626', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_627', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_628', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_629', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_630', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_631', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_632', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_633', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_634', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_635', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_636', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_637', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_638', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_639', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_640', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_641', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_642', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_643', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_644', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_645', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_646', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_647', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_648', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_649', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_650', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_651', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_652', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_653', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_654', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_655', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_656', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_657', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_658', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_659', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_660', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_661', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_662', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_663', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_664', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_665', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_666', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_667', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_668', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_669', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_670', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_671', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_672', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_673', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_674', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_675', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_676', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_677', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_678', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_679', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_680', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_681', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_682', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_683', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_684', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_685', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_686', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_687', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_688', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_689', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_690', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_691', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_692', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_693', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_694', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_695', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_696', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_697', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_698', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_699', 'files', 14);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_700', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_701', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_702', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_703', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_704', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_705', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_706', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_707', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_708', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_709', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_710', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_711', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_712', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_713', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_714', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_715', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_716', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_717', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_718', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_719', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_720', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_721', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_722', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_723', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_724', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_725', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_726', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_727', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_728', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_729', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_730', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_731', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_732', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_733', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_734', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_735', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_736', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_737', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_738', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_739', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_740', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_741', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_742', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_743', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_744', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_745', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_746', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_747', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_748', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_749', 'files', 15);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_750', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_751', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_752', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_753', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_754', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_755', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_756', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_757', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_758', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_759', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_760', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_761', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_762', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_763', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_764', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_765', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_766', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_767', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_768', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_769', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_770', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_771', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_772', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_773', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_774', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_775', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_776', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_777', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_778', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_779', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_780', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_781', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_782', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_783', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_784', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_785', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_786', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_787', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_788', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_789', 'files', 16);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_790', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_791', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_792', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_793', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_794', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_795', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_796', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_797', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_798', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_799', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_800', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_801', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_802', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_803', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_804', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_805', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_806', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_807', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_808', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_809', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_810', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_811', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_812', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_813', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_814', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_815', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_816', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_817', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_818', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_819', 'files', 17);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES
('file_600', 'files', 15),
('file_600', 'files', 16),
('file_650', 'files', 17);

INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_900', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_901', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_902', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_903', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_904', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_905', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_906', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_907', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_908', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_909', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_910', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_911', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_912', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_913', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_914', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_915', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_916', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_917', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_918', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_919', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_920', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_921', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_922', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_923', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_924', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_925', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_926', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_927', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_928', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_929', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_930', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_931', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_932', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_933', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_934', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_935', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_936', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_937', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_938', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_939', 'files', 18);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_940', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_941', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_942', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_943', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_944', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_945', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_946', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_947', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_948', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_949', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_950', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_951', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_952', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_953', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_954', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_955', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_956', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_957', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_958', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_959', 'files', 19);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1000', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1001', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1002', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1003', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1004', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1005', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1006', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1007', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1008', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1009', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1010', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1011', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1012', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1013', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1014', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1015', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1016', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1017', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1018', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1019', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1020', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1021', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1022', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1023', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1024', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1025', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1026', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1027', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1028', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1029', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1030', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1031', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1032', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1033', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1034', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1035', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1036', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1037', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1038', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1039', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1040', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1041', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1042', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1043', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1044', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1045', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1046', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1047', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1048', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1049', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1050', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1051', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1052', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1053', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1054', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1055', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1056', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1057', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1058', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1059', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1060', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1061', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1062', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1063', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1064', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1065', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1066', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1067', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1068', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1069', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1070', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1071', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1072', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1073', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1074', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1075', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1076', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1077', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1078', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1079', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1080', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1081', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1082', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1083', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1084', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1085', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1086', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1087', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1088', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1089', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1090', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1091', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1092', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1093', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1094', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1095', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1096', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1097', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1098', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1099', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1100', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1101', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1102', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1103', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1104', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1105', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1106', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1107', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1108', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1109', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1110', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1111', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1112', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1113', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1114', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1115', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1116', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1117', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1118', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1119', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1120', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1121', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1122', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1123', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1124', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1125', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1126', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1127', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1128', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1129', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1130', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1131', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1132', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1133', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1134', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1135', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1136', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1137', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1138', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1139', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1140', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1141', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1142', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1143', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1144', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1145', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1146', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1147', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1148', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1149', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1150', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1151', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1152', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1153', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1154', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1155', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1156', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1157', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1158', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1159', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1160', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1161', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1162', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1163', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1164', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1165', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1166', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1167', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1168', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1169', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1170', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1171', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1172', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1173', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1174', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1175', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1176', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1177', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1178', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1179', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1180', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1181', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1182', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1183', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1184', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1185', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1186', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1187', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1188', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1189', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1190', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1191', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1192', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1193', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1194', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1195', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1196', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1197', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1198', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1199', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1200', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1201', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1202', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1203', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1204', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1205', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1206', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1207', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1208', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1209', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1210', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1211', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1212', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1213', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1214', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1215', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1216', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1217', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1218', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1219', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1220', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1221', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1222', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1223', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1224', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1225', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1226', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1227', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1228', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1229', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1230', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1231', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1232', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1233', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1234', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1235', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1236', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1237', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1238', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1239', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1240', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1241', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1242', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1243', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1244', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1245', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1246', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1247', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1248', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1249', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1250', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1251', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1252', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1253', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1254', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1255', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1256', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1257', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1258', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1259', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1260', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1261', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1262', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1263', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1264', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1265', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1266', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1267', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1268', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1269', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1270', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1271', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1272', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1273', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1274', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1275', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1276', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1277', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1278', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1279', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1280', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1281', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1282', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1283', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1284', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1285', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1286', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1287', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1288', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1289', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1290', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1291', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1292', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1293', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1294', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1295', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1296', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1297', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1298', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1299', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1300', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1301', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1302', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1303', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1304', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1305', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1306', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1307', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1308', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1309', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1310', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1311', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1312', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1313', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1314', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1315', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1316', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1317', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1318', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1319', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1320', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1321', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1322', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1323', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1324', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1325', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1326', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1327', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1328', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1329', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1330', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1331', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1332', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1333', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1334', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1335', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1336', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1337', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1338', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1339', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1340', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1341', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1342', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1343', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1344', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1345', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1346', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1347', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1348', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1349', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1350', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1351', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1352', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1353', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1354', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1355', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1356', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1357', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1358', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1359', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1360', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1361', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1362', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1363', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1364', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1365', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1366', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1367', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1368', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1369', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1370', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1371', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1372', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1373', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1374', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1375', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1376', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1377', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1378', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1379', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1380', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1381', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1382', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1383', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1384', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1385', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1386', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1387', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1388', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1389', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1390', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1391', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1392', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1393', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1394', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1395', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1396', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1397', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1398', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1399', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1400', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1401', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1402', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1403', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1404', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1405', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1406', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1407', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1408', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1409', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1410', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1411', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1412', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1413', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1414', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1415', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1416', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1417', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1418', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1419', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1420', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1421', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1422', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1423', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1424', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1425', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1426', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1427', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1428', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1429', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1430', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1431', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1432', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1433', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1434', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1435', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1436', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1437', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1438', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1439', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1440', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1441', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1442', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1443', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1444', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1445', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1446', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1447', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1448', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1449', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1450', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1451', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1452', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1453', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1454', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1455', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1456', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1457', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1458', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1459', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1460', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1461', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1462', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1463', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1464', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1465', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1466', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1467', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1468', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1469', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1470', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1471', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1472', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1473', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1474', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1475', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1476', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1477', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1478', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1479', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1480', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1481', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1482', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1483', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1484', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1485', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1486', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1487', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1488', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1489', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1490', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1491', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1492', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1493', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1494', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1495', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1496', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1497', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1498', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1499', 'files', 20);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1500', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1501', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1502', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1503', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1504', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1505', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1506', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1507', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1508', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1509', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1510', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1511', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1512', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1513', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1514', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1515', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1516', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1517', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1518', 'files', 21);
INSERT INTO oc_systemtag_object_mapping (objectid, objecttype, systemtagid) VALUES ('file_1519', 'files', 21);
 - Sanitize and merge duplicate system tags
     - Starting sanitization of system tags...
     - Found 21 tags with 10 unique sanitized names.
     - WARNING: Cannot merge tag group 'Confidential': tags have different visibility or editable settings. Manual verification required. Tag IDs: 9, 8, 7
     - Merged tags [17, 16, 15] into ID 14 (sanitized: 'ToDo')
     - Merged tags [3, 2] into ID 1 (sanitized: 'Important')
     - WARNING: Cannot merge tag group 'Archive': tags have different visibility or editable settings. Manual verification required. Tag IDs: 11, 10
     - Merged tags [19] into ID 18 (sanitized: 'Internal')
     - Sanitized tag ID 13: 'Meeting Notes			''Meeting Notes'
     - Merged tags [21] into ID 20 (sanitized: 'Popular')
     - Sanitized tag ID 12: 'Project		Alpha		''Project Alpha'
     - Merged tags [6] into ID 4 (sanitized: 'Urgent')
     - System tag sanitization and merge completed.

Checklist

@skjnldsv skjnldsv added this to the Nextcloud 33 milestone Oct 29, 2025
@skjnldsv skjnldsv self-assigned this Oct 29, 2025
@skjnldsv skjnldsv requested a review from a team as a code owner October 29, 2025 13:56
@skjnldsv skjnldsv requested review from ArtificialOwl, leftybournes, salmart-dev and yemkareems and removed request for a team October 29, 2025 13:56
@github-project-automation github-project-automation bot moved this to 🏗️ In progress in 📁 Files team Oct 29, 2025
@skjnldsv skjnldsv added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Oct 29, 2025
@skjnldsv skjnldsv force-pushed the fix/systemtags branch 2 times, most recently from e30d0af to 5ceb404 Compare October 29, 2025 14:24
@skjnldsv skjnldsv changed the title fix(systemtags): remove duplicates, prevent and sanitize existing tags fix(systemtags): remove duplicates, cleanup existing tags Oct 29, 2025
@skjnldsv skjnldsv force-pushed the fix/systemtags branch 2 times, most recently from b659742 to 19aa6fc Compare November 6, 2025 07:10
@skjnldsv
Copy link
Member Author

skjnldsv commented Nov 6, 2025

Ok @artonge and @CarlSchwan I think I addressed most of the performance issues.
Have a look again? 🙏

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Comment on lines +61 to +64
$objectCounts = [];
foreach ($this->getAllTagObjectCounts() as $tagId => $count) {
$objectCounts[$tagId] = $count;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't this be done in getAllTags by joining both tables and stored as a property in each $tag array?

Comment on lines +52 to +55
foreach ($tags as $tag) {
$sanitizedMap[$tag['sanitizedName']][] = $tag;
$totalTags++;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Defeat a bit the purpose of having an iterator as we store all the $tag in memory in the end.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we might be fine with loading everything in memory, as this is a manually run repair step, so there are not a lot of risks with it failing.

If needed due to memory exhaustion in potential instances with a lot of tags, the approach would probably be to be optimistic by updating all tag names, and only do the merging when it is failing.

Something like:

$tags = $getAllTags();

foreach ($tags as $tag) {
  try {
    sanitizeName($tag);
  } catch ($ex) {
    mergeTags($tag);
  }
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, worse case scenario, we can adjust/optimise further as follow-ups as this is an optoinal step anyway

use OCP\SetupCheck\ISetupCheck;
use OCP\SetupCheck\SetupResult;

class RepairSanitizeSystemTagsAvailable implements ISetupCheck {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m afraid of the perf impact of this setup step on an instance with lots of tags.
All tags will be read on each setup check run, even if the repair step was run already. Is it really necessary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a one time repair anyway, once it's done, it should never happens again.
Should we add an app config flag to return true once it's done ?

Or we could also add a timeout for frontend setup check and only says to run this with cli ?
I dunno 🤷

Maybe we're over thinking it 🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would simply remove the setup check I think.
We should not add a setup check for each repair step.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So when will it be run? Never if the admins are not aware it exists 😕

This was referenced Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

5 participants