Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions db/sql/test/populate_allowed_child_entity_type.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `allowed_child_entity_type` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `allowed_child_entity_type` DISABLE KEYS */;
INSERT INTO `allowed_child_entity_type` VALUES
(1,1),
Expand Down
1 change: 1 addition & 0 deletions db/sql/test/populate_allowed_entity_type.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `allowed_entity_type` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `allowed_entity_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `allowed_entity_type` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_allowed_entity_type_domain.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `allowed_entity_type_domain` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `allowed_entity_type_domain` DISABLE KEYS */;
INSERT INTO `allowed_entity_type_domain` VALUES
(1,1),
Expand Down
3 changes: 3 additions & 0 deletions db/sql/test/populate_allowed_property_domain.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
--

LOCK TABLES `allowed_property_domain` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `allowed_property_domain` DISABLE KEYS */;
INSERT INTO `allowed_property_domain` VALUES
(3,1);
/*!40000 ALTER TABLE `allowed_property_domain` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_allowed_property_metadata_value.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `allowed_property_metadata_value` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `allowed_property_metadata_value` DISABLE KEYS */;
/*!40000 ALTER TABLE `allowed_property_metadata_value` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_allowed_property_value.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `allowed_property_value` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `allowed_property_value` DISABLE KEYS */;
/*!40000 ALTER TABLE `allowed_property_value` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_attachment.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `attachment` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `attachment` DISABLE KEYS */;
/*!40000 ALTER TABLE `attachment` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_connector.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `connector` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `connector` DISABLE KEYS */;
/*!40000 ALTER TABLE `connector` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_connector_property.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `connector_property` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `connector_property` DISABLE KEYS */;
/*!40000 ALTER TABLE `connector_property` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_connector_type.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `connector_type` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `connector_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `connector_type` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_domain.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `domain` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `domain` DISABLE KEYS */;
INSERT INTO `domain` VALUES
(1,'Logbook','Item domain to maintain logbooks.',NULL,'UID','System',NULL);
Expand Down
88 changes: 88 additions & 0 deletions db/sql/test/populate_entity_info.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,94 @@
--

LOCK TABLES `entity_info` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `entity_info` DISABLE KEYS */;
INSERT INTO `entity_info` VALUES
(1,1,1,1,'2024-08-23 09:19:18',1,'2024-08-29 14:46:49',1,NULL,NULL),
(2,1,1,1,'2024-08-23 09:20:04',1,'2024-08-23 09:20:29',1,NULL,NULL),
(3,2,2,1,'2024-08-23 10:00:52',2,'2024-08-23 10:00:52',2,NULL,NULL),
(4,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(5,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(6,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(7,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(8,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(9,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(10,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(11,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(12,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(13,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(14,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(15,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(16,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(17,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(18,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(19,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(20,2,2,1,'2024-08-23 10:00:53',2,'2024-08-23 10:00:53',2,NULL,NULL),
(21,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(22,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(23,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(24,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(25,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(26,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(27,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(28,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(29,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(30,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(31,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(32,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(33,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(34,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(35,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(36,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(37,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(38,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(39,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(40,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(41,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(42,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(43,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(44,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(45,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(46,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(47,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(48,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(49,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(50,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(51,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(52,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(53,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(54,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(55,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(56,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(57,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(58,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(59,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(60,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(61,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(62,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(63,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(64,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(65,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(66,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(67,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(68,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(69,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(70,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(71,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(72,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(73,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(74,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(75,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(76,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(77,2,2,1,'2024-08-23 10:00:54',2,'2024-08-23 10:00:54',2,NULL,NULL),
(78,1,1,1,'2024-08-29 14:47:08',1,'2024-08-29 14:48:30',1,NULL,NULL),
(79,1,1,1,'2024-08-29 14:47:27',1,'2024-08-29 14:47:27',1,NULL,NULL),
(80,1,1,1,'2024-08-29 14:47:33',1,'2024-08-29 14:47:33',1,NULL,NULL),
(81,1,1,1,'2024-08-29 14:47:46',1,'2024-08-29 14:47:46',1,NULL,NULL),
(82,1,1,1,'2024-08-29 14:47:50',1,'2024-08-29 14:47:50',1,NULL,NULL),
(83,1,1,1,'2024-08-29 14:47:54',1,'2024-08-29 14:47:54',1,NULL,NULL),
(84,1,1,1,'2024-08-29 14:48:01',1,'2024-08-29 14:48:01',1,NULL,NULL),
(85,1,1,1,'2024-08-29 14:56:17',1,'2024-08-29 14:56:17',1,NULL,NULL),
(86,2,2,1,'2025-02-14 08:36:54',1,'2025-02-14 09:13:45',1,NULL,NULL);
/*!40000 ALTER TABLE `entity_info` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_entity_type.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `entity_type` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `entity_type` DISABLE KEYS */;
INSERT INTO `entity_type` VALUES
(1,'Template','Template',NULL,'classification for template items',NULL,NULL,NULL,NULL,NULL,1),
Expand Down
85 changes: 85 additions & 0 deletions db/sql/test/populate_item.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,91 @@
--

LOCK TABLES `item` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `item` DISABLE KEYS */;
INSERT INTO `item` VALUES
(1,1,'Test Template Copy',NULL,NULL,NULL,NULL),
(2,1,'Test Template Per Entry',NULL,NULL,NULL,NULL),
(3,1,'test_doc_0',NULL,'','',NULL),
(4,1,'test_doc_1',NULL,'','',NULL),
(5,1,'test_doc_2',NULL,'','',NULL),
(6,1,'test_doc_3',NULL,'','',NULL),
(7,1,'test_doc_4',NULL,'','',NULL),
(8,1,'test_doc_5',NULL,'','',NULL),
(9,1,'test_doc_6',NULL,'','',NULL),
(10,1,'test_doc_7',NULL,'','',NULL),
(11,1,'test_doc_8',NULL,'','',NULL),
(12,1,'test_doc_9',NULL,'','',NULL),
(13,1,'test_doc_10',NULL,'','',NULL),
(14,1,'test_doc_11',NULL,'','',NULL),
(15,1,'test_doc_12',NULL,'','',NULL),
(16,1,'test_doc_13',NULL,'','',NULL),
(17,1,'test_doc_14',NULL,'','',NULL),
(18,1,'test_doc_15',NULL,'','',NULL),
(19,1,'test_doc_16',NULL,'','',NULL),
(20,1,'test_doc_17',NULL,'','',NULL),
(21,1,'test_doc_18',NULL,'','',NULL),
(22,1,'test_doc_19',NULL,'','',NULL),
(23,1,'test_doc_20',NULL,'','',NULL),
(24,1,'test_doc_21',NULL,'','',NULL),
(25,1,'test_doc_22',NULL,'','',NULL),
(26,1,'test_doc_23',NULL,'','',NULL),
(27,1,'test_doc_24',NULL,'','',NULL),
(28,1,'test_doc_25',NULL,'','',NULL),
(29,1,'test_doc_26',NULL,'','',NULL),
(30,1,'test_doc_27',NULL,'','',NULL),
(31,1,'test_doc_28',NULL,'','',NULL),
(32,1,'test_doc_29',NULL,'','',NULL),
(33,1,'test_doc_30',NULL,'','',NULL),
(34,1,'test_doc_31',NULL,'','',NULL),
(35,1,'test_doc_32',NULL,'','',NULL),
(36,1,'test_doc_33',NULL,'','',NULL),
(37,1,'test_doc_34',NULL,'','',NULL),
(38,1,'test_doc_35',NULL,'','',NULL),
(39,1,'test_doc_36',NULL,'','',NULL),
(40,1,'test_doc_37',NULL,'','',NULL),
(41,1,'test_doc_38',NULL,'','',NULL),
(42,1,'test_doc_39',NULL,'','',NULL),
(43,1,'test_doc_40',NULL,'','',NULL),
(44,1,'test_doc_41',NULL,'','',NULL),
(45,1,'test_doc_42',NULL,'','',NULL),
(46,1,'test_doc_43',NULL,'','',NULL),
(47,1,'test_doc_44',NULL,'','',NULL),
(48,1,'test_doc_45',NULL,'','',NULL),
(49,1,'test_doc_46',NULL,'','',NULL),
(50,1,'test_doc_47',NULL,'','',NULL),
(51,1,'test_doc_48',NULL,'','',NULL),
(52,1,'test_doc_49',NULL,'','',NULL),
(53,1,'test_doc_50',NULL,'','',NULL),
(54,1,'test_doc_51',NULL,'','',NULL),
(55,1,'test_doc_52',NULL,'','',NULL),
(56,1,'test_doc_53',NULL,'','',NULL),
(57,1,'test_doc_54',NULL,'','',NULL),
(58,1,'test_doc_55',NULL,'','',NULL),
(59,1,'test_doc_56',NULL,'','',NULL),
(60,1,'test_doc_57',NULL,'','',NULL),
(61,1,'test_doc_58',NULL,'','',NULL),
(62,1,'test_doc_59',NULL,'','',NULL),
(63,1,'test_doc_60',NULL,'','',NULL),
(64,1,'test_doc_61',NULL,'','',NULL),
(65,1,'test_doc_62',NULL,'','',NULL),
(66,1,'test_doc_63',NULL,'','',NULL),
(67,1,'test_doc_64',NULL,'','',NULL),
(68,1,'test_doc_65',NULL,'','',NULL),
(69,1,'test_doc_66',NULL,'','',NULL),
(70,1,'test_doc_67',NULL,'','',NULL),
(71,1,'test_doc_68',NULL,'','',NULL),
(72,1,'test_doc_69',NULL,'','',NULL),
(73,1,'test_doc_70',NULL,'','',NULL),
(74,1,'test_doc_71',NULL,'','',NULL),
(75,1,'test_doc_72',NULL,'','',NULL),
(76,1,'test_doc_73',NULL,'','',NULL),
(77,1,'test_doc_74',NULL,'','',NULL),
(78,1,'Test Template Sections + Copy',NULL,NULL,NULL,NULL),
(79,1,'Section 1',NULL,'','78',NULL),
(80,1,'Section 2',NULL,'','78',NULL),
(81,1,'Section 3',NULL,'','78',NULL),
(82,1,'Sample log document',NULL,'','',NULL),
(83,1,'Log Document With Entries',NULL,'','',NULL);
/*!40000 ALTER TABLE `item` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_item_category.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `item_category` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `item_category` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_category` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_item_category_item_type.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `item_category_item_type` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `item_category_item_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_category_item_type` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_item_connector.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `item_connector` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `item_connector` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_connector` ENABLE KEYS */;
UNLOCK TABLES;
1 change: 1 addition & 0 deletions db/sql/test/populate_item_connector_property.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--

LOCK TABLES `item_connector_property` WRITE;
SET SESSION FOREIGN_KEY_CHECKS=0;
/*!40000 ALTER TABLE `item_connector_property` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_connector_property` ENABLE KEYS */;
UNLOCK TABLES;
Loading
Loading