From bf6916c3fefdb43858c504479ad797928710449c Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 1 Aug 2022 12:51:10 +1000 Subject: [PATCH] Apply data migrations for pathstring (#31) --- inventree_data.json | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/inventree_data.json b/inventree_data.json index a899d18..1c61542 100644 --- a/inventree_data.json +++ b/inventree_data.json @@ -2453,7 +2453,7 @@ "model": "common.inventreesetting", "pk": 69, "fields": { - "value": "0.7.4", + "value": "0.7.7", "key": "INVENTREE_LATEST_VERSION" } }, @@ -36861,6 +36861,7 @@ "name": "Electronics", "description": "Electronic components and systems", "parent": null, + "pathstring": "Electronics", "default_location": null, "default_keywords": null, "lft": 1, @@ -36877,6 +36878,7 @@ "name": "Mechanical", "description": "Mechanical components", "parent": null, + "pathstring": "Mechanical", "default_location": null, "default_keywords": null, "lft": 1, @@ -36893,6 +36895,7 @@ "name": "Fasteners", "description": "Screws / nuts / bolts / etc", "parent": 2, + "pathstring": "Mechanical/Fasteners", "default_location": null, "default_keywords": null, "lft": 4, @@ -36909,6 +36912,7 @@ "name": "Passives", "description": "Passive components", "parent": 1, + "pathstring": "Electronics/Passives", "default_location": null, "default_keywords": null, "lft": 12, @@ -36925,6 +36929,7 @@ "name": "Resistors", "description": "Resistors", "parent": 4, + "pathstring": "Electronics/Passives/Resistors", "default_location": null, "default_keywords": "passive resistor", "lft": 17, @@ -36941,6 +36946,7 @@ "name": "Capacitors", "description": "Capacitors", "parent": 4, + "pathstring": "Electronics/Passives/Capacitors", "default_location": null, "default_keywords": "passive capacitor", "lft": 13, @@ -36957,6 +36963,7 @@ "name": "Inductors", "description": "Inductors", "parent": 4, + "pathstring": "Electronics/Passives/Inductors", "default_location": null, "default_keywords": null, "lft": 15, @@ -36973,6 +36980,7 @@ "name": "IC", "description": "Integrated Circuits", "parent": 1, + "pathstring": "Electronics/IC", "default_location": null, "default_keywords": null, "lft": 6, @@ -36989,6 +36997,7 @@ "name": "Interface", "description": "Drivers, receivers, transceivers", "parent": 8, + "pathstring": "Electronics/IC/Interface", "default_location": null, "default_keywords": null, "lft": 7, @@ -37005,6 +37014,7 @@ "name": "MCU", "description": "Microcontrollers and processors", "parent": 8, + "pathstring": "Electronics/IC/MCU", "default_location": null, "default_keywords": null, "lft": 9, @@ -37021,6 +37031,7 @@ "name": "PCB", "description": "Printed circuit boards", "parent": 1, + "pathstring": "Electronics/PCB", "default_location": null, "default_keywords": null, "lft": 20, @@ -37037,6 +37048,7 @@ "name": "Connectors", "description": "Connectors, pin headers, etc", "parent": 1, + "pathstring": "Electronics/Connectors", "default_location": null, "default_keywords": null, "lft": 2, @@ -37053,6 +37065,7 @@ "name": "Widgets", "description": "Odds and ends, doo-hickeys, etc", "parent": 2, + "pathstring": "Mechanical/Widgets", "default_location": null, "default_keywords": "", "lft": 6, @@ -37069,6 +37082,7 @@ "name": "Enclosures", "description": "Enclosures, boxes, etc", "parent": 2, + "pathstring": "Mechanical/Enclosures", "default_location": null, "default_keywords": "", "lft": 2, @@ -37085,6 +37099,7 @@ "name": "PCBA", "description": "PCB assemblies", "parent": 1, + "pathstring": "Electronics/PCBA", "default_location": null, "default_keywords": "", "lft": 22, @@ -37101,6 +37116,7 @@ "name": "Furniture", "description": "Furniture and associated things", "parent": null, + "pathstring": "Furniture", "default_location": null, "default_keywords": "", "lft": 1, @@ -37117,6 +37133,7 @@ "name": "Tables", "description": "", "parent": 17, + "pathstring": "Furniture/Tables", "default_location": null, "default_keywords": "", "lft": 4, @@ -37133,6 +37150,7 @@ "name": "Chairs", "description": "", "parent": 17, + "pathstring": "Furniture/Chairs", "default_location": null, "default_keywords": "", "lft": 2, @@ -37149,6 +37167,7 @@ "name": "Paint", "description": "Paints, inks, etc", "parent": null, + "pathstring": "Paint", "default_location": null, "default_keywords": "", "lft": 1, @@ -37165,6 +37184,7 @@ "name": "Pin Headers", "description": "Pin headers and sockets", "parent": 13, + "pathstring": "Electronics/Connectors/Pin Headers", "default_location": null, "default_keywords": "", "lft": 3, @@ -67819,6 +67839,7 @@ "name": "Factory", "description": "", "parent": null, + "pathstring": "Factory", "owner": null, "lft": 1, "rght": 14, @@ -67834,6 +67855,7 @@ "name": "Storage Room A", "description": "Storage Room A (purple door)", "parent": 1, + "pathstring": "Factory/Storage Room A", "owner": null, "lft": 10, "rght": 11, @@ -67849,6 +67871,7 @@ "name": "Storage Room B", "description": "Storage Room B (green door)", "parent": 1, + "pathstring": "Factory/Storage Room B", "owner": null, "lft": 12, "rght": 13, @@ -67864,6 +67887,7 @@ "name": "Office Block", "description": "Office block inside factory", "parent": 1, + "pathstring": "Factory/Office Block", "owner": null, "lft": 4, "rght": 9, @@ -67879,6 +67903,7 @@ "name": "Room 101", "description": "", "parent": 4, + "pathstring": "Factory/Office Block/Room 101", "owner": null, "lft": 5, "rght": 6, @@ -67894,6 +67919,7 @@ "name": "Room 404", "description": "", "parent": 4, + "pathstring": "Factory/Office Block/Room 404", "owner": null, "lft": 7, "rght": 8, @@ -67909,6 +67935,7 @@ "name": "Electronics Lab", "description": "Electronics production facility", "parent": null, + "pathstring": "Electronics Lab", "owner": null, "lft": 1, "rght": 8, @@ -67924,6 +67951,7 @@ "name": "Reel Storage", "description": "Storage for component reels", "parent": 7, + "pathstring": "Electronics Lab/Reel Storage", "owner": null, "lft": 6, "rght": 7, @@ -67939,6 +67967,7 @@ "name": "Mechanical Lab", "description": "", "parent": 1, + "pathstring": "Factory/Mechanical Lab", "owner": null, "lft": 2, "rght": 3, @@ -67954,6 +67983,7 @@ "name": "Parts Bins", "description": "Storage for loose components", "parent": 7, + "pathstring": "Electronics Lab/Parts Bins", "owner": null, "lft": 4, "rght": 5, @@ -67969,6 +67999,7 @@ "name": "Loose Parts", "description": "Loose parts / cut tapes", "parent": 7, + "pathstring": "Electronics Lab/Loose Parts", "owner": null, "lft": 2, "rght": 3, @@ -117669,7 +117700,7 @@ "pk": 1, "fields": { "password": "pbkdf2_sha256$260000$NNqALp0c36DPuISI5Q6iM3$+ILiuXGdDbEo4PXR5myUO/zHaNXhzHMPdtN2lZaKrg8=", - "last_login": "2022-07-27T04:34:34.529Z", + "last_login": "2022-08-01T02:33:37.734Z", "is_superuser": true, "username": "admin", "first_name": "",